thinmy/cached-eloquent-user

Caches authenticated user information to prevent laravel query on every request.
286 6
Install
composer require thinmy/cached-eloquent-user
Latest Version:0.0.2
License:MIT
Last Updated:Oct 4, 2015
Links: GitHub  ·  Packagist
Maintainer: thinmy

CachedEloquentUser


Caches authenticated user information to prevent laravel query on every request.

Instalation

1. Dependencies

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`;

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658