laravel-shift / blueprint

A code generation tool for Laravel developers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 11 Compatibility

qhoirulanwar opened this issue · comments

  • Laravel Version: 11
  • PHP Version: 8.3.1
  • Blueprint Version: 2.9
  • Platform: Mac

Issue:

screenshot-1710331050381

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.