laravel-action-command maintained by robinwieske
Description
This package provides a simple `make:action` command to generate invokable action classes
Author
Last update
2026/03/24 10:15
(dev-main)
License
Downloads
8 745
Tags
This package provides a simple action:make command to generate invokable action classes
This package allows you to easily create Action classes in your laravel project. You can either just use the
php artisan make:model command and pass the --actions flag to create Create{Model}Action, Update{Model}Action and Delete{Model}Action actions or you can directly use php artisan make:action.
Installation
You can install the package via composer:
composer require robinwieske/laravel-action-command
Usage
Create an action class directly:
php artisan action:make User/CreateUserAction
Or pass the --actions flag to your php artisan make:model command:
php artisan make:model Post -mcf --actions
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.