Releases: creativeorange/laravel-stubs
Releases · creativeorange/laravel-stubs
V1.2.1 - Fix force for publish
With pull request #1 the force option for the publish stubs was broken, always overwriting all the stubs. This is now fixed.
V1.2.0 - Trait templates, facades
- Added a command to make facades.
- php artisan make:facade [name] [accessor]
- Added more templates to the trait facade
- php artisan make:trait [name] -b/--boot (Has actually been here since V1.0.0, prefills the trait with the boot method)
- php artisan make:trait [name] -a/--anonymous (Makes a trait and fills it with a method to anonymous the data of a model on delete, use in combination with soft deletes. The fields can be set by defining the $anonymousFields array)
- php artisan make:trait [name] -u/--uuid (Make a trait and fills it with a method to generate an uuid for the model on create. The field can be set by defining the $uuidField)
V1.1.0 - More types
- Added password type
- The password type will generate a random 8 character password.
- Added uuid type
- The uuid type will generate a random uuid for the field.