16/10
2017
Wallogit.com
2017 © Pedro Peláez
A Laravel Generator For Creating New Traits
Laravel Generator For Creating New Traits, (*1)
Install using composer, (*2)
composer require cedextech/trait-generator --dev
Add the service provider, open config/app.php, and add a new item to the providers array., (*3)
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., (*4)
php artisan make:trait UserTrait