ronssij/laravel-actions is a Laravel package for a simple action service for controllers..
It currently has 1 GitHub stars and 181 downloads on Packagist.
Install it with composer require ronssij/laravel-actions.
Discover more Laravel packages by ronssij
or browse all Laravel packages to compare alternatives.
Last updated
This is a simple Laravel action service for controllers.
composer require ronssij/laravel-actions
php artisan make:action YourActionClass
This command will generate a specific file on the default folder App\Actions
namespace App\Actions;
class YourActionClass
{
/**
* Execute the action and return a result.
*
* @return mixed
*/
public function execute () {
// Execute the action.
}
}