Download the PHP package ritaorion/laravel-actions-enums without Composer
On this page you can find all versions of the php package ritaorion/laravel-actions-enums. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ritaorion/laravel-actions-enums
More information about ritaorion/laravel-actions-enums
Files in ritaorion/laravel-actions-enums
Download ritaorion/laravel-actions-enums
More information about ritaorion/laravel-actions-enums
Files in ritaorion/laravel-actions-enums
Vendor ritaorion
Package laravel-actions-enums
Short Description This package provides Artisan CLI Support to create Scaffolding for Actions and Enum classes in Laravel
License MIT
Homepage https://github.com/ritaorion/laravel-actions-enums
Package laravel-actions-enums
Short Description This package provides Artisan CLI Support to create Scaffolding for Actions and Enum classes in Laravel
License MIT
Homepage https://github.com/ritaorion/laravel-actions-enums
Keywords laravellaravel-actions-enums
Please rate this library. Is it a good library?
Informations about the package laravel-actions-enums
Laravel Actions & Enus
This package provides Artisan CLI Support to create Scaffolding for Actions and Enum classes in Laravel
Installation
composer require ritaorion/laravel-actions-enums
Basic Usage
php artisan make:action Charts
php artisan make:enum Role
Arguments
php artisan make:action Admin/Blogs --model=Blog
- Scaffolds action class with restful resources methods and uses the appropriate model class. If the model does not exist, an error will be thrown.
php artisan make:enum Admin/Blogs/Status --case=Active --case=Inactive --case=Published
- Creates an enum class and scaffolds cases that are passed in as arguments.
php artisan make:enum Responses --case="it is possible"
- Passing double quotes case values will convert cases to PascalCase.
Sample Action Usage in Controller
(new CreateBlog)->create($input);
All versions of laravel-actions-enums with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
spatie/laravel-package-tools Version ^1.14.0
spatie/php-structure-discoverer Version ^1.0
spatie/laravel-package-tools Version ^1.14.0
spatie/php-structure-discoverer Version ^1.0
The package ritaorion/laravel-actions-enums contains the following files
Loading the files please wait ....