Laravel Cache now required PHP 8.2.0 or greater.
Laravel Cache now required Laravel Framework 11 or greater.
You should update the following dependency in your application's composer.json file:
dragon-code/laravel-cacheto^4.0
The support of the following dependencies has been removed:
dragon-code/contractsdragon-code/simple-dto
The use of the dependence of the contracts dragon-code/contracts was removed.
This means that the DragonCode\Contracts\* contracts will no longer be working.
DragonCode\Contracts\Support\Arrayablereplace withIlluminate\Contracts\Support\Arrayable
Constants DAY, MONTH and WEEK was deleted from DragonCode\Cache\Support\Ttl class.
- The case of the properties of the properties from
snake_casewithcamelCaseis changed. - The
hashing_keyproperty ofDragonCode\Cache\Services\Cacheclass was renamed withuseHash.