LaravelPackages.net
Acme Inc.
Toggle sidebar
ronssij/laravel-actions

A simple action service for controllers.

181
1
About ronssij/laravel-actions

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

Simple Laravel Action

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.
    }
}

License

MIT

Star History Chart