onxit/stuberator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

onxit/stuberator

最新稳定版本:0.1

Composer 安装命令:

composer require onxit/stuberator

包简介

Generate a few types of architectures elements by Command Generators and stubs

README 文档

README

Latest Stable Version License Downloads

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-06