| Package Data | |
|---|---|
| Maintainer Username: | thinmy |
| Maintainer Contact: | thinmy@gmail.com (Thinmy P. Alves) |
| Package Create Date: | 2015-10-01 |
| Package Last Update: | 2015-10-04 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:17:45 |
| Package Statistics | |
|---|---|
| Total Downloads: | 286 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 6 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Caches authenticated user information to prevent laravel query on every request.
Using composer, execute the following command to automatically update your composer.json:
composer require thinmy/cached-eloquent-user
or manually update composer.json
{
"require": {
"thinmy/cached-eloquent-user": "^0.0.1"
}
}
After updating composer, add the ServiceProvider to the providers array in config/app.php.
'providers' => [
Thinmy\CachedEloquentUser\AuthServiceProvider::class,
],
After updating providers, update your authentication driver in config/auth.php.
'driver' => 'cachedEloquent`;