PHP code example of guratr / nova-command-runner
1. Go to this page and download the library: Download guratr/nova-command-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/ */
guratr / nova-command-runner example snippets
// in app/Providers/NovaServiceProvder.php
// ...
public function tools()
{
return [
// ...
new \Guratr\CommandRunner\CommandRunner,
];
}
bash
php artisan vendor:publish --provider="Guratr\CommandRunner\ToolServiceProvider"