Exists in a table validation issue

It's Tuesday morning and I'm under the weather, so my brain must be missing something jsut a validation request where my last rule is causing an issue. I need to validate t...

Throwing Error when Registering and Account

I created a customize register account on my laravel project but when I click the submit button, it throws error: Symfony \ Component \ HttpKernel \ Exception \ Met...

Does anybody know basic SPARQL?

I've tried for hours now to get coordinates from WikiData from here...

I cant understand fluent interfaces

I saw this tutorial using Fluent Interfaces , it is very good and practical to organize codes -...

Live Pair Programming

I built a website that makes pair programming between developers easy. I'm doing some testing by pair programming with a few laracasts users, for free of course. If...

Angular + Laravel

hi I am using laravel with homestead. I have created Rest API using laravel. i have created a new angular project inside the project directory But i can't access the...

Scheduled task to update model status

Hi there, I have a Tender model, which has a number of stages depending on the date... i.e. Stage 1 ends 23/11/2018 0900 Stage 2 begins: 23/11/2018 0901 Stage...

DB Performance decline after SQL Command "optimize" on table.

I was finishing up a project I was working on, and during one of my database checks I decided to run the optimize function. Now, i forgot that InnoDB does not have the func...

Class App\Http\Controllers\Admin\AdminController does not exist does not exist

Hello All, I am getting the following error: Class App\Http\Controllers\Admin\AdminController does not exist I have tried doing composer dump-autoload,...

Laravel CustomServiceProvider Class not found in package when required

I have posted this question on stackoverflow but haven't got much response. Can someone please look at this and tell me where exactly I am going wrong?...

laravel passport

I was trying to work on laravel passport all are,done, when i run php artisan serve it gives error Symfony \ Com ponent \ HttpKernel \ Exception \ MethodNotAllowedHttpExce...

Named routes in Vue

What is the proper way of using named routes in Vue?...

500 error on root route of prefix

Hi, Can anyone help me figure out why I'm getting a 500 error on the / route of the prefix? And how I can fix that? Route::prefix('dashboard')->mid...

Logging and notification errors on a batch of queue jobs

I am using forge/queues/horizon to process some some requests. I.e. a user loads in a batch of 100 orders in a CSV file. Each line of the CSV is sent to the queue as...

asset conversion

i am converting a html template to blade it has the following line? link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet&...

Model stripping URL in function

I am building a function to check if a user has a gravatar. If they don't it just shows their initials. I am doing this in a Model (could be the wrong spot), however it app...

How would you clean this up?

It's basic stuff. Please show me how you clean this up. Thanks <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Stripe\{St...

Multiple Checkbox responses

I am needing some assistance, I am attempting to take a form and save the values of the checked checkboxes. When I return $request from the store function in the controller...

cannot do the refresh and migrate

I need your help guys. I have added a column in my table 'posts' and when I refresh or rollback the migration, it has throw an error. This is my extended migration:...

Am I safe to not use a middleware on my controller methods if I use auth for every query?

I've created a private messenger system using redis, node and a laravel backend. I was just about to write a middleware that I commented out //$this->middleware('i...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels