PHPackages                             twitnic/laravel-fileauthprovider - 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. twitnic/laravel-fileauthprovider

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

twitnic/laravel-fileauthprovider
================================

Read Username and Password from .env File.

0.0.4(10y ago)062MITPHPPHP &gt;=5.4

Since Sep 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/twitnic/laravel-fileauthprovider)[ Packagist](https://packagist.org/packages/twitnic/laravel-fileauthprovider)[ Docs](http://twitnic.de)[ RSS](/packages/twitnic-laravel-fileauthprovider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

laravel-fileauthprovider
========================

[](#laravel-fileauthprovider)

Read Username and Password from .env-File

### Installation

[](#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

[](#usage)

#### .env File:

[](#env-file)

Add the following Lines to your `.env-File`:

- username=admin
- password=admin

#### Configuration

[](#configuration)

Open `config/auth.php` and set appropiate driver and model:

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

```

Use authentication as explained on Laravel's [Authentication](http://laravel.com/docs/5.0/authentication)chapter.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

4

Last Release

3877d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3960a68760597255d6722e72f380eac9b923372d58f7f5b885e3d42f5caf036b?d=identicon)[twitnic](/maintainers/twitnic)

---

Top Contributors

[![twitnic](https://avatars.githubusercontent.com/u/1270942?v=4)](https://github.com/twitnic "twitnic (2 commits)")

---

Tags

laravelAuthenticationfilelaravel 5

### Embed Badge

![Health badge](/badges/twitnic-laravel-fileauthprovider/health.svg)

```
[![Health](https://phpackages.com/badges/twitnic-laravel-fileauthprovider/health.svg)](https://phpackages.com/packages/twitnic-laravel-fileauthprovider)
```

###  Alternatives

[efficiently/authority-controller

AuthorityController is an PHP authorization library for Laravel 5 which restricts what resources a given user is allowed to access.

15533.2k](/packages/efficiently-authority-controller)[sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

5030.7k](/packages/sarav-laravel-multiauth)[thecodework/two-factor-authentication

Two Factor Authentication (2FA) for Laravel

225.5k](/packages/thecodework-two-factor-authentication)[caresome/filament-auth-designer

Transform Filament's default auth pages into stunning, brand-ready experiences

3916.8k2](/packages/caresome-filament-auth-designer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
