Download the PHP package twitnic/laravel-fileauthprovider without Composer
On this page you can find all versions of the php package twitnic/laravel-fileauthprovider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download twitnic/laravel-fileauthprovider
More information about twitnic/laravel-fileauthprovider
Files in twitnic/laravel-fileauthprovider
Download twitnic/laravel-fileauthprovider
More information about twitnic/laravel-fileauthprovider
Files in twitnic/laravel-fileauthprovider
Vendor twitnic
Package laravel-fileauthprovider
Short Description Read Username and Password from .env File.
License MIT
Homepage http://twitnic.de
Package laravel-fileauthprovider
Short Description Read Username and Password from .env File.
License MIT
Homepage http://twitnic.de
Please rate this library. Is it a good library?
Informations about the package laravel-fileauthprovider
laravel-fileauthprovider
Read Username and Password from .env-File
Installation
Require twitnic/laravel-fileauthprovider
in composer.json and run composer update
.
{
"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:
In Laravel 5.0:
'providers' => array(
...
'Twitnic\FileAuth\FileAuthProvider',
),
In Laravel 5.1:
'providers' => array(
...
'Twitnic\FileAuth\FileAuthProvider::class',
),
Usage
.env File:
Add the following Lines to your .env-File
:
- username=admin
- password=admin
Configuration
Open config/auth.php
and set appropiate driver and model:
[
...
'driver' => 'File',
...
]
Use authentication as explained on Laravel's Authentication chapter.
All versions of laravel-fileauthprovider with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package twitnic/laravel-fileauthprovider contains the following files
Loading the files please wait ....