PHP code example of sigurniv / laravel-script-runner
1. Go to this page and download the library: Download sigurniv/laravel-script-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/ */
sigurniv / laravel-script-runner example snippets
// config/script-runner.php
return [
'migration_table' => 'laravel_script_runner_migrations'
];
bash
$ php artisan script-runner:migrate
bash
$ php artisan vendor:publish