Top "Laravel-5" questions

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

Change Timezone in Lumen or Laravel 5

I am using Lumen framework. How can I change Timezone to Europe/Paris CEST? I added a varaible in my .…

php laravel-5 lumen
How to get Current Timestamp from Carbon in Laravel 5

I want to get current timestamp in laravel 5 and I have done this- $current_time = Carbon\Carbon::now()->…

php laravel laravel-5 php-carbon
ReflectionException: Class ClassName does not exist - Laravel

As soon, I am typing php artisan db:seed command. I'm getting Error Like: [ReflectionException] Class UserTableSeeder does not exist …

php laravel laravel-5 laravel-artisan
Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory

I have a project on Laravel 5 and I work with it at the office and at home too. It works …

php windows laravel laravel-5
Eloquent ORM laravel 5 Get Array of ids

I'm using Eloquent ORM laravel 5.1, i want to return an array of ids greater than 0, My model called test. I …

php laravel laravel-5 eloquent model
How to redirect to a route in laravel 5 by using href tag if I'm not using blade or any template?

Route::get('/page','UserController@view page'); is my route. I have a list with href tag and I want …

redirect routes laravel-5 href
Can't install laravel installer via composer

I'm trying to install laravel installer with the composer on my Ubuntu PC, but I get this error during the …

php laravel ubuntu laravel-5
Get environment value in controller

In my .env file I have the following: IMAP_HOSTNAME_TEST=imap.gmail.com [email protected]

php laravel laravel-5 config
Laravel Request::all() Should Not Be Called Statically

In Laravel, I'm trying to call $input = Request::all(); on a store() method in my controller, but I'm getting the …

php laravel laravel-5
Artisan, creating tables in database

I am trying to create mysql tables in Laravel 5. I created a file in /project/database/migrations called users.php: [...] …

php laravel laravel-5 laravel-artisan laravel-migrations