cedextech / trait-generator
A Laravel Generator For Creating New Traits
Installs: 6 304
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 3
Open Issues: 2
pkg:composer/cedextech/trait-generator
Requires
- php: ^7.0
This package is not auto-updated.
Last update: 2024-03-31 00:53:31 UTC
README
Laravel Generator For Creating New Traits
Installation
Install using composer
composer require cedextech/trait-generator --dev
Add the service provider, open config/app.php, and add a new item to the providers array.
Cedextech\TraitGenerator\ServiceProvider::class,
That's it! You're all set to go. Run the php artisan command from the Terminal to see the new make:trait command.
Usage
php artisan make:trait UserTrait