# Upgrade from 7.x to 8.x
IMPORTANT
Boilerplate 8.x requires at least PHP 8.2 and Laravel 11.x
# What's new in 8.x
- PHP >= 8.2
- Laravel 11.x (opens new window)
- Arcanedev Log Viewer 11.x (opens new window)
- Intervention Image 3.x (opens new window) now with Laravel Integration 1.x (opens new window)
- Nesbot Carbon 3.x (opens new window)
- Laratrust 8.x (opens new window)
- Laravel Datatables 11.x (opens new window)
- PHPUnit 11.x (opens new window)
- Laravel Orchestra Testbench 9.x (opens new window)
# Upgrade steps
In order to upgrade from Boilerplate 7.x to 8.x you have to follow these steps:
- Change your
composer.json
to require the 8.x version of Boilerplate:
"sebastienheyd/boilerplate":"^8.0"
Run
composer update
to update the source code.Run
php artisan config:clear
,php artisan cache:clear
andphp artisan view:clear
.
# Intervention Image
Intervention Image v2.x is end of life and no longer maintained. The service provider for Laravel has been removed and the package has been replaced by the Intervention Laravel Integration 1.x (opens new window) package.
Intervention Image has been updated to version 3.x. You can find the upgrade guide here (opens new window).