Download the PHP package rifrocket/trait-console without Composer
On this page you can find all versions of the php package rifrocket/trait-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rifrocket/trait-console
More information about rifrocket/trait-console
Files in rifrocket/trait-console
Package trait-console
Short Description Console command to create Traits for the Laravel
License MIT
Homepage https://github.com/rifrocket/trait-console
Informations about the package trait-console
about this package
Laravel does not provide the command to create Traits out of the box but Laravel does provide commands generation for almost all kinds of components. This package introduces the convenience of Laravel's artisan makes for trait generation.
Installation
You can install the package via composer:
Registering the service provider
For Laravel 5.4 and lower, add the following line to your config/app.php
Usage
trait will be created in the App/Traits directory.
You may create traits in subdirectories to organize them as per your need
trait will be created in the App/Traits/Subdirectory directory and namespaced appropriately.
Arguments
-b or --boot
Creates a trait with a boot method named bootMethodName.
-s or --scope
Creates a trait with a scope method named scopeMethodName.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mohammad Arif
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of trait-console with dependencies
illuminate/console Version ~5.5.0|~5.6.0|~5.7.0|~5.8.0|~6.0|7.0|^8.0
illuminate/support Version ~5.5.0|~5.6.0|~5.7.0|~5.8.0|~6.0|7.0|^8.0