Skip to content

Releases: creativeorange/laravel-stubs

V1.2.1 - Fix force for publish

24 Jul 11:40
Compare
Choose a tag to compare

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

24 Jul 11:29
Compare
Choose a tag to compare
  • 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

03 Jul 14:25
Compare
Choose a tag to compare
  • 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.

V1.0.0

27 May 20:21
6842088
Compare
Choose a tag to compare
Merge pull request #1 from dejury/publish-all-stubs

Publish all stubs