When to generate a new Application Key in Laravel?

php artisan key:generate is a command that sets the APP_KEY value in your .env file. By default, this command is run following a composer create-project laravel/laravel command. If you use a version control system like git to manage your project for development, calling git push … will push a copy of your Laravel project to wherever it is going, but will not include your .env file. Therefore, if … Read more

Whoops, looks like something went wrong. Laravel 5.0

The logs are located in storage directory. If you want laravel to display the error for you rather than the cryptic ‘Whoops’ message, copy the .env.example to .env and make sure APP_ENV=local is in there. It should then show you the detailed error messaging.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)