PHP code example of lozemc / laravel-actions
1. Go to this page and download the library: Download lozemc/laravel-actions 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/ */
lozemc / laravel-actions example snippets
protected $commands = [
// ...
\App\Console\Commands\ActionMakeCommand::class,
];
return [
// ...
\Lozemc\Actions\Providers\MakeActionProvider::class,
];
bash
php artisan make:action UpdatePostAction