ronssij / laravel-actions
A simple action service for controllers.
dev-master
2019-08-08 03:11 UTC
This package is auto-updated.
Last update: 2024-10-08 16:26:00 UTC
README
This is a simple Laravel action service for controllers.
Installation
composer require ronssij/laravel-actions
Usage
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. } }