laravel-stubs maintained by kerigard
Description
Custom stub templates for Laravel projects.
Author
Last update
2026/10/04 13:47
(dev-master)
License
Downloads
6
Tags
Laravel Stubs
Custom Laravel stubs without unnecessary PHPDoc blocks and with improved type hints.
The package automatically replaces Laravel's default stubs. No configuration or manual publishing is required.
Requirements
- PHP ^8.3
- Laravel ^13.0
Installation
composer require --dev kerigard/laravel-stubs
The package is automatically discovered by Laravel.
Usage
Use Laravel's standard generators as usual:
php artisan make:model Post
php artisan make:controller PostController
php artisan make:request StorePostRequest
The generated classes will use the package's stubs.
To publish the stubs to your application's stubs/ directory for further customization:
php artisan stub:publish
License
MIT