Top "Laravel-5" questions

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

Laravel Migration Change to Make a Column Nullable

I created a migration with unsigned user_id. How can I edit user_id in a new migration to also …

laravel laravel-5 eloquent nullable laravel-migrations
Rollback one specific migration in Laravel

I want to rollback only : Rolled back: 2015_05_15_195423_alter_table_web_directories I run php artisan migrate:rollback, 3 of my migration …

laravel laravel-4 laravel-5 database-migration
Laravel-5 how to populate select box from database with id value and name value

I want to create a select box like the one below using illuminate\html : <select> <option value="$…

php laravel laravel-5 blade
Laravel 5 - redirect to HTTPS

Working on my first Laravel 5 project and not sure where or how to place logic to force HTTPS on my …

php laravel laravel-routing laravel-5
Laravel 5 Clear Views Cache

I notice that Laravel cache views are stored in ~/storage/framework/views. Over time, they get to eat up my …

php caching laravel laravel-5 laravel-artisan
Trying to get Laravel 5 email to work

I'm trying to send an email to a specified user by typing in the URL, but I'm getting the following …

php laravel laravel-5 email-integration
Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Migration error on Laravel 5.4 with php artisan make:auth [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key …

mysql laravel pdo laravel-5 laravel-5.4
Whoops, looks like something went wrong. Laravel 5.0

I installed Laravel 5.0 properly by cloning in git, and composer install, when I ran it to browser http://localhost/laravel/…

php laravel-5
How to generate .env file for laravel?

From the documentation I see it's possible to create a laravel project via laravel installer: $laravel new blog or via …

laravel installation composer-php laravel-5 environment
laravel 5 : Class 'input' not found

In my routes.php file I have : Route::get('/', function () { return view('login'); }); Route::get('/index', function(){ …

php laravel laravel-5 laravel-5.1 laravel-5.2