Repository navigation
v1.1.0
π¦ v1.1.0 β Laravel Cache Support & Improvements
β¨ New Features
-
Laravel Cache Integration
Introduced a built-inLaravelCacheDriverclass that implements theCacheInterface, allowing seamless integration with Laravel's cache system (file,redis,memcached, etc.).
β Ideal for applications using Laravel framework to store and reuse JWKS efficiently.use UQI\Cognito\Tokens\CognitoTokenVerifier; use App\Drivers\LaravelCacheDriver; $verifier = new CognitoTokenVerifier( 'us-east-1', 'us-east-1_aQRUYfYJQ', '6c9hs2p1v53bf9ol5m0o0rlfjj', new LaravelCacheDriver() );
π Improvements
-
Enhanced documentation with clear examples for:
- Basic usage
- Error handling
- Custom and Laravel-based cache implementations
-
Internal refactoring for better modularity and future extensibility.
π Developer Experience
- Improved inline PHPDoc comments for better IDE support and static analysis.
- Added clear structure to the
CacheInterfacedocumentation, aiding in implementing custom cache strategies.
- None. Fully backward-compatible with v1.0.x.
Full Changelog: v1.0.0...v1.1.0