@jlrdw Well ... the app is already developed with Laravel 8.12 and I want to propose to upgrade the app to Laravel 9.x, perhaps 10.x (release in february), but it depends on other dependencies. I have to check all.
@webrobert I have tested Laravel 8.12 with PHP 8.1 and it doesn't work, I get this error.
PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/vincent/Documents/PRO/DEV/KARINE/lbpf/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1411
@webrobert Is it a good idea to upgrade Laravel 8.12 to 8.65 ? As it's a minor version, it shouldn't disturb the current code or ? I will create a test branch and I will test the upgrade.