wilsn/laravel-stubber
Composer 安装命令:
composer require wilsn/laravel-stubber
包简介
Laravel Stub generator
README 文档
README
Laravel Stub Generator provides convenient custom Artisan commands that extend the default Laravel make: suite. It's designed to speed up development by generating commonly used files like services, actions, and Vue components from customizable stub templates.
✅ Supported Commands
-
php artisan make:service {Name}→ Creates a new Service class in theApp\Servicesnamespace. -
php artisan make:action {Name}→ Creates a new Action class inApp\Actions. -
php artisan make:vue {Name}→ Creates a new Vue component inresources/js/Components.
🚀 Installation
Install laravel-stubber globally on your system by running:
composer global require wilsn/laravel-stubber:dev-main
🛠 Usage
php artisan make:service User
Generates:
app/Services/UserService.php
🙌 Contributing
You're welcome to contribute by:
- Opening issues (bug reports or ideas)
- Suggesting or submitting new
make:commands - Improving stub templates
📄 License
MIT © Abdiel Wilson
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-22