PHP code example of cleaniquecoders / laravel-artisan-runner
1. Go to this page and download the library: Download cleaniquecoders/laravel-artisan-runner 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/ */
cleaniquecoders / laravel-artisan-runner example snippets
'allowed_commands' => [
'cache:clear' => [
'label' => 'Clear Cache',
'description' => 'Flush the application cache.',
'group' => 'Cache',
'parameters' => [],
],
],
bash
php artisan artisan-runner:install
php artisan migrate