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: | 2024-11-22 15:02:50 |
Package Statistics | |
---|---|
Total Downloads: | 285 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 2 |
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`;