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

Latest Version on Packagist GitHub Tests Total Downloads License: MIT Laravel

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 the App\Services namespace.

  • php artisan make:action {Name} → Creates a new Action class in App\Actions.

  • php artisan make:vue {Name} → Creates a new Vue component in resources/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