onxit/stuberator
最新稳定版本:0.1
Composer 安装命令:
composer require onxit/stuberator
包简介
Generate a few types of architectures elements by Command Generators and stubs
关键字:
README 文档
README
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.
📦 Installation
Add the package to your Laravel project using Composer:
composer require onxit/stuberator
🚀 Usage
Stuberator provides the following Artisan commands to generate files:
Generate an Action
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.
Generate a Service
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.
Generate an Enum
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.
🗺 Roadmap
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.
🤝 Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request to improve this package.
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and submit a pull request.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-06