alibori / laravel-file-generator
Package to create custom files that doesn't have default stub.
v1.0.1
2023-03-31 13:20 UTC
Requires
- php: >=8.1
- illuminate/console: ^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/filesystem: ^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0
- spatie/laravel-package-tools: ^1.9
Requires (Dev)
- laravel/pint: ^1.6
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.22
- pestphp/pest: ^1.22
- pestphp/pest-plugin-laravel: ^1.4
README
Package to create custom files that doesn't have default stub.
Installation
You can install the package via composer:
composer require alibori/laravel-file-generator --dev
You can publish the config file with:
php artisan vendor:publish --tag="file-generator-config"
Optionally, you can publish the stubs using
php artisan vendor:publish --tag="file-generator-stubs"
Usage
php artisan file-generator:generate {type} {name}
Available types
service
repository
(This will make an interface too).action
response
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.