Generate a few types of architectures elements by Command Generators and stubs
onxit/stuberator is a Laravel package for generate a few types of architectures elements by command generators and stubs.
It currently has 0 GitHub stars and 13 downloads on Packagist (latest version 0.1).
Install it with composer require onxit/stuberator.
Discover more Laravel packages by onxit
or browse all Laravel packages to compare alternatives.
Last updated
Stuberator is a Laravel package designed to simplify the creation of architectural elements through command generators and stubs. It currently supports the generation of Actions, Services, and Enums. Future releases will include support for Domain-Driven Design (DDD) modules.
Add the package to your Laravel project using Composer:
composer require onxit/stuberator
Stuberator provides the following Artisan commands to generate files:
Run the following command to create a new Action class:
php artisan make:action <ActionName>
The generated file will be placed in the App\Actions namespace by default.
Run the following command to create a new Service class:
php artisan make:service <ServiceName>
The generated file will be placed in the App\Services namespace by default.
Run the following command to create a new Enum class:
php artisan make:enum <EnumName>
The generated file will be placed in the App\Enums namespace by default.
Support for Domain-Driven Design (DDD): Future updates will include commands and scaffolding for DDD modules such as Aggregates, Value Objects, Repositories, and more. Additional stub-based generators.
Contributions are welcome! Feel free to open an issue or submit a pull request to improve this package.