Skip to content

Releases: creativeorange/laravel-injectable

v3.0.0 - Support laravel 10 & 11

19 Aug 08:54
fa89d1f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v3.0.0

v2.0.0 - Laravel 9 Support

04 May 11:15
Compare
Choose a tag to compare

Version 2+ only supports Laravel 9.
If you are using Laravel 8 or 7, you can use version 1.

v1.0.1 - Using correct typehinting in Laravel Facades

12 Apr 13:09
Compare
Choose a tag to compare

Previously, if you were using Laravel Facades to inject the model, for example:

LaravelInjectable::set([
   'company_name'    => optional($person->company)->name,
   'department_name' => optional($person->department)->name,
   'first_name'      => $person->first_name,
   'last_name'       => $person->last_name,
   'full_name'       => $person->full_name,
]);

PHPStorm would throw a notice, because the $value parameter was missing, this was however never required, so we suppressed the error.

v1.0.0 - Initial release

29 Oct 12:45
Compare
Choose a tag to compare

The first version of this package!