Download the PHP package abe/cache-for-laravel-sanctum without Composer
On this page you can find all versions of the php package abe/cache-for-laravel-sanctum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abe/cache-for-laravel-sanctum
More information about abe/cache-for-laravel-sanctum
Files in abe/cache-for-laravel-sanctum
Package cache-for-laravel-sanctum
Short Description Let Laravel Sanctum use cache to retrieve token
License MIT
Homepage https://github.com/abrahamgreyson/cache-for-laravel-sanctum
Informations about the package cache-for-laravel-sanctum
Let Laravel Sanctum Use Cache to Retrieve Tokens
Laravel Sanctum executes 3 database queries for every HTTP request.
This package wraps the default PersonalAccessToken
model, uses cache to retrieve the personal_access_token
and tokenable
model. This reduces 2 queries for most requests.
Installation
You can install the package via composer:
Usage
Once you have this package in your project, Sanctum tokens will be retrieved through cache automatically. Redis cache is recommended.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- abraham greyson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of cache-for-laravel-sanctum with dependencies
laravel/sanctum Version ^2.0|^3.0
illuminate/cache Version ^8.0|^9.0|^10.0