throw new RuntimeException( 'No application encryption key has been specified.' ); code example Example: RuntimeException: No application encryption key has been specified. php artisan key:generate