PHPackages                             tomgrohl/laravel-memory-auth-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tomgrohl/laravel-memory-auth-provider

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tomgrohl/laravel-memory-auth-provider
=====================================

Laravel In memory auth provider.

1.0.1(8y ago)31.9k↓50%2MITPHP

Since Apr 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/tomgrohl/laravel-memory-auth-provider)[ Packagist](https://packagist.org/packages/tomgrohl/laravel-memory-auth-provider)[ RSS](/packages/tomgrohl-laravel-memory-auth-provider/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/d0cd97216ef9747793d76edb411f20c38ca417cdd43b52c17cdc746f7fc92211/68747470733a2f2f706f7365722e707567782e6f72672f746f6d67726f686c2f6c61726176656c2d6d656d6f72792d617574682d70726f76696465722f762f737461626c65)](https://packagist.org/packages/tomgrohl/laravel-memory-auth-provider)[![Latest Unstable Version](https://camo.githubusercontent.com/534d2dbee1f7973059b7704acb828cd1e059f2ffa976bb53006407318528bdd8/68747470733a2f2f706f7365722e707567782e6f72672f746f6d67726f686c2f6c61726176656c2d6d656d6f72792d617574682d70726f76696465722f762f756e737461626c65)](https://packagist.org/packages/tomgrohl/laravel-memory-auth-provider)[![License](https://camo.githubusercontent.com/da4e96b48925c92fe56d2aa07b47e0388e85de2fb0227db2a3c6fe3523675165/68747470733a2f2f706f7365722e707567782e6f72672f746f6d67726f686c2f6c61726176656c2d6d656d6f72792d617574682d70726f76696465722f6c6963656e7365)](https://packagist.org/packages/tomgrohl/laravel-memory-auth-provider)

Laravel Memory Auth Provider
============================

[](#laravel-memory-auth-provider)

A In Memory User Auth Provider for Laravel 5.1+.

Allows you to Authenticate and admin area without the need for a database. Great as a quick and temporary solution during development, particularly if your site is mocked out and not let using a database.

Installation
------------

[](#installation)

You can install it using composer:

`composer require tomgrohl/laravel-memory-auth-provider`

Configuration
-------------

[](#configuration)

### 1 .Add service provider

[](#1-add-service-provider)

Add the following to your `providers` in the `app` config

```
