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-cache
to^4.0
The support of the following dependencies has been removed:
dragon-code/contracts
dragon-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\Arrayable
replace 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_case
withcamelCase
is changed. - The
hashing_key
property ofDragonCode\Cache\Services\Cache
class was renamed withuseHash
.