PHP code example of lucasviniciusdev / lumen-generate-app-key

1. Go to this page and download the library: Download lucasviniciusdev/lumen-generate-app-key library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lucasviniciusdev / lumen-generate-app-key example snippets


protected $commands = [
  \Lucasviniciusdev\Commands\KeyGenerateCommand::class
];
bash
php artisan key:generate
php artisan key:generate --show