Top "Laravel-5.3" questions

Laravel 5 is the previous major version of the open-source PHP web development MVC framework created by Taylor Otwell.

laravel 5.3 new Auth::routes()

Recently I start to use laravel 5.3 to write a blog, but I have a question after run php artisan make:…

php laravel laravel-5 laravel-5.3
Adding Access-Control-Allow-Origin header response in Laravel 5.3 Passport

I'm new to Laravel and am doing some Laravel 5.3 Passport project with OAuth2.0 password grant. When I curl the API …

cors laravel-5.3
How to use API Routes in Laravel 5.3

In Laravel 5.3 API routes were moved into the api.php file. But how can I call a route in api.…

api laravel laravel-5.3
What is the best practice for adding constants in laravel? (Long List)

I am rather new to laravel. I have a basic question, What is the best way to add constants in …

php laravel laravel-5 constants laravel-5.3
Laravel 5.3 Storage::put creates a directory with the file name

I'm using Laravel's file storage functionality to save a file: public function dataPost(Request $request) { $fileInForm = 'doc'; if ($request->…

php laravel laravel-5 laravel-5.3 laravel-filesystem
Driver [] is not supported. - Laravel 5.3

I'm using backpackforlaravel to set up the backend area of my website. I've added an image field in my ProjectCrudController: $…

php image laravel laravel-5.3 backpack-for-laravel
How to add 1 hour to date Carbon?

I have datetime "2016-11-24 11:59:56". How can I add one hour to this date and compare it with current datetime? …

php laravel laravel-5.3 php-carbon
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'column_name' in Laravel

Larael Multiple Data Insert Error SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column 'unit_id' at row 2 (SQL: …

php mysql laravel pivot-table laravel-5.3
Group by not working - Laravel

I'm not able to run this simple query in Laravel 5.3 $top_performers = DB::table('pom_votes') ->groupBy('performer_…

laravel laravel-5.3 query-builder
Laravel 5.3 Validation Fails when Variables are Null

Since upgrading laravel from 5.1 to 5.3, I've got couple of odd issues with Validation. When I post a data like this: …

laravel validation laravel-5.3 laravel-validation