laravel-json-api / laravel

JSON:API for Laravel applications
MIT License
541 stars 41 forks source link

Feature: upgrade to Laravel 11 and drop PHP 8.1 #267

Closed lindyhopchris closed 6 months ago

lindyhopchris commented 7 months ago

Changes required to upgrade to Laravel 11, dropping PHP 8.1 at the same time.

If you want to try in your application (if you're upgrading to Laravel 11):

composer config minimum-stability dev
composer require laravel-json-api/laravel:^4.0 --no-update
composer require laravel-json-api/testing:^3.0 --dev --no-update
composer up "cloudcreativity/*" "laravel-json-api/*"
lindyhopchris commented 7 months ago

FYI we're dropping PHP 8.1 because Laravel is dropping it for the 11 release.

lindyhopchris commented 6 months ago

Aware Laravel 11 has been tagged today. I've got through some of the admin for releasing the new version this week... will finish it off later this week.

In the meantime if you're upgrading your apps to Laravel 11, you can use the instructions above to install the pre-tag version.