Releases: creativeorange/laravel-injectable
Releases · creativeorange/laravel-injectable
v3.0.0 - Support laravel 10 & 11
v2.0.0 - Laravel 9 Support
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
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
The first version of this package!