PHPackages                             lucky-saini/laravel-basic-authentication - 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. lucky-saini/laravel-basic-authentication

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

lucky-saini/laravel-basic-authentication
========================================

All Basic authentications

1.01(6y ago)028MITPHP &gt;=5.5.9

Since Jun 14Compare

[ Source](https://github.com/luckys383/laravel-basic-authentication)[ Packagist](https://packagist.org/packages/lucky-saini/laravel-basic-authentication)[ RSS](/packages/lucky-saini-laravel-basic-authentication/feed)WikiDiscussions Synced today

READMEChangelog (2)DependenciesVersions (6)Used By (0)

laravel-basic-authentication
============================

[](#laravel-basic-authentication)

laravel basic authentication package for both admin and front-end authentication. We are providing authentication for both frontend and admin sites. Because most of the sites we need to create admin site for content editing. Where super admin manage his site contents.

This package is compatible with Laravel 5.2 and package will not work below 5.2.

Requirements
============

[](#requirements)

PHP &gt;= 5.5.9

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

[](#installation)

Require this package in your composer.json and update composer.

```
"lucky-saini/laravel-basic-authentication": "~1.0.2"
```

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
Luckys\BasicAithentication\BasiAuthenticationServiceProvider::class,
```

After setup all the above things a command will be added in `php artisan`. This command copy all the files in appropriate folders. In this command we provided user to create only required scaffolding feature. You can set specific argument according to requirement. It has following arguments `admin`, `frontend` and `both`. `both` is selected by default if this argument is empty.

```
php artisan luckys:auth [scaffold_for]
```

To publish the config settings in Laravel 5.2 use:

```
php artisan vendor:publish --provider="Luckys\BasicAithentication\BasiAuthenticationServiceProvider"
```

This will add an `admin-auth.php` config file to your config folder.

Set admin password related setting in `config/auth.php` file. Like

```
  'admin_users' => [
    'provider' => 'users',
    'email' => 'admin.auth.emails.password',
    'table' => 'password_resets',
    'expire' => 60,
  ],
```

After this code will look like this:

```
  'passwords' => [
    'users' => [......],

    'admin_users' => [
        'provider' => 'users',
        'email' => 'admin.auth.emails.password',
        'table' => 'password_resets',
        'expire' => 60,
    ],
  ],
```

Documentation
-------------

[](#documentation)

This plugin is an enhancement of Laravel make:auth functionality. Laravel provide us only single authentication. But in this plugin we can create two authentications. As most of the sites we have two sections one is Frontend (for public) site and second is Admin (for site owner). This package provide you to create both types of authentications.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~297 days

Total

5

Last Release

2481d ago

Major Versions

0.1.0 → 1.0.02016-06-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4679499?v=4)[Lakhwinder Singh](/maintainers/luckys383)[@luckys383](https://github.com/luckys383)

---

Top Contributors

[![luckys383](https://avatars.githubusercontent.com/u/4679499?v=4)](https://github.com/luckys383 "luckys383 (13 commits)")

### Embed Badge

![Health badge](/badges/lucky-saini-laravel-basic-authentication/health.svg)

```
[![Health](https://phpackages.com/badges/lucky-saini-laravel-basic-authentication/health.svg)](https://phpackages.com/packages/lucky-saini-laravel-basic-authentication)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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