PHP code example of halilcosdu / laravel-command-banner
1. Go to this page and download the library: Download halilcosdu/laravel-command-banner 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/ */
halilcosdu / laravel-command-banner example snippets
return [
'enabled' => env('COMMAND_BANNER_ENABLED', true),
'environments' => [
'production' => [
'db:wipe',
'migrate:fresh',
],
'staging' => [
// 'db:show'
],
],
];
bash
php artisan vendor:publish --tag="command-banner-config"