2017 © Pedro Peláez
 

library laravel-fileauthprovider

Read Username and Password from .env File.

image

twitnic/laravel-fileauthprovider

Read Username and Password from .env File.

  • Thursday, May 19, 2016
  • by twitnic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

laravel-fileauthprovider

Read Username and Password from .env-File, (*1)

Installation

Require twitnic/laravel-fileauthprovider in composer.json and run composer update., (*2)

{
    "require": {
        "laravel/framework": "5.0.*",
        ...
        "twitnic/laravel-fileauthprovider": "*"
    }
    ...
}

Composer will download the package. After the package is downloaded, open config/app.php and add the service provider:, (*3)

In Laravel 5.0:, (*4)

'providers' => array(
    ...
    'Twitnic\FileAuth\FileAuthProvider',
),

In Laravel 5.1:, (*5)

'providers' => array(
    ...
    'Twitnic\FileAuth\FileAuthProvider::class',
),

Usage

.env File:

Add the following Lines to your .env-File:, (*6)

  • username=admin
  • password=admin

Configuration

Open config/auth.php and set appropiate driver and model:, (*7)

[
    ...
    'driver' => 'File',
    ...
]

Use authentication as explained on Laravel's Authentication chapter., (*8)

The Versions

19/05 2016

dev-travis-ci

dev-travis-ci http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5

19/05 2016

dev-master

9999999-dev http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5

06/10 2015

0.0.4

0.0.4.0 http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5

06/10 2015

0.0.3

0.0.3.0 http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5

16/09 2015

0.0.2

0.0.2.0 http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5

13/09 2015

0.0.1

0.0.1.0 http://twitnic.de

Read Username and Password from .env File.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

laravel authentication file laravel 5