How to find Laravel Framework Version

Laravel is a popular PHP framework. In this post, I will show how to check laravel version. To find the Laravel Framework version, run Another way to find Laravel version is to check the file composer.lock present in the Laravel web root directory. You will see something like the following In this case, we are … Read more

Laravel

Create a project using the latest Laravel Create a project using a specific version of Laravel. You can see available Laravel versions on the site https://packagist.org/packages/laravel/laravel Clear Laravel application cache or Back to PHP

Syntax error or access violation: 1071 Specified key was too long

When running database migration in a new larvel project, i get following error boby@hon-pc-01:~/www/proxy (master)$ php artisan migrate In Connection.php line 664: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) In Connection.php line 458: SQLSTATE[42000]: Syntax error or … Read more