Closed qhoirulanwar closed 8 months ago
I also experienced something similar when I upgrade Laravel 11
Not compatible yet, lets wait for next commit. So far my workaround was to fork the project and change the dependencies on composer.json
Blueprint should be compatible with Laravel 11 from a dependency perspective. However, it will not generate code for Laravel 11 (i.e. Models with the casts
method).
tl;dr; Try dev-master
.
Just tagged v2.10
. This should include Laravel 11 compatibility.
A reminder, it will not generate models with the new casts
method. They will still use the $casts
property, which is compatible with both Laravel 10 and Laravel 11. I will generate the new method when support for Laravel 10 is dropped later this month.
Issue: