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