wilsn / laravel-stubber
Laravel Stub generator
dev-main
2025-06-22 07:40 UTC
This package is auto-updated.
Last update: 2025-06-22 07:41:07 UTC
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\Services
namespace. -
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