laravel generate new app key code example Example 1: key generate laravel php artisan key:generate Example 2: php artisan key generate php artisan key:generate