Skip to content

Releases: rifrocket/trait-console

3.3

26 Oct 05:22
3704c16
Compare
Choose a tag to compare
commit 3.3

3.2

23 Oct 12:09
Compare
Choose a tag to compare
3.2

performance improves.

fixed some security issues.

23 Oct 11:51
Compare
Choose a tag to compare

fixed some security issues.

minor bugs fixed in Arguments

23 Oct 11:29
Compare
Choose a tag to compare

Arguments
-b or --boot

php artisan make:trait NameOfYourTrait -b MethodName

Creates a trait with a boot method named bootMethodName.

-s or --scope

php artisan make:trait NameOfYourTrait -s MethodName

Creates a trait with a scope method named scopeMethodName.

Update Arguments scope and boot methods

23 Oct 10:16
Compare
Choose a tag to compare

Arguments
-b or --boot

php artisan make:trait NameOfYourTrait -b=MethodName
Creates a trait with a boot method named bootMethodName.

-s or --scope

php artisan make:trait NameOfYourTrait -s=MethodName
Creates a trait with a scope method named scopeMethodName.

Console command to create Traits for the Laravel

23 Oct 08:49
Compare
Choose a tag to compare

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.