PHPackages                             net-pioneer/laravel-authplus - 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. net-pioneer/laravel-authplus

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

net-pioneer/laravel-authplus
============================

multi authentication for laravel

02PHP

Since Dec 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/net-pioneer/laravel-authplus)[ Packagist](https://packagist.org/packages/net-pioneer/laravel-authplus)[ RSS](/packages/net-pioneer-laravel-authplus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-authplus
================

[](#laravel-authplus)

Multi authentication for laravel v1.0.0 Based On LiveWire
It's a first version of laravel Multi Authentication, which you can authenticate many types of users (admin/customer/user).
net-pioneer (pouya)

note :
First Rival it's my first project which i decided to publish it for public usage. so if something wrong happened in my codes, plz fix it by yourself and share it to us LOL.

##### Features :

[](#features-)

- Captcha
- Two Factor Authentication (based on your Configuration Like SMS/Email/Google authenticator)
- Multi Authentication
- Auto Generation DB tables
- User Verifications (BASIC and Simple one)
- and etc. ##### Installation :

[](#installation--)

`composer require net-pioneer/laravel-authplus`

Or copy the hole files into your Project-name/Packages/netpioneer/authplus
and then add codes bellow to your main composer `"netpioneer\\authplus\\": "packages/netpioneer/authplus/src/"`
```
"autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/",
            "netpioneer\\authplus\\": "packages/netpioneer/authplus/src/"
        }
    },
```

Usages :

##### 1:

[](#1)

```
php artisan vendor:publish --provider=netpioneer\authplus\Providers\AuthplusServiceProvider
```

##### 2:

[](#2)

```
php artisan migrate
```

NOTE : Before to run migration you should config your auth.php in config folder.like guards,verifications and etc. ##### 3:

[](#3)

```
php artisan make:livewire Login
```

NOTE : you should know LiveWire Basics . you i write it short ##### 4:

[](#4)

View :
```

        @csrf
        @if(!$twofactor)

        @else

        @endif

```

inside LiveWire Class:

```
public function submit(){
        $guardName = 'admin';
        try {
            $this->res = app(AuthPlusAuthenticateUser::class)->twofactor($this->twofactor_input)->captcha($this->captcha)->Authenticate($guardName, $this->username, $this->password, true);
            $this->err = $this->res;
            return redirect()->away(AuthPlusLogics::getHomePage());
        }catch (LoginFailedExecption $exception){
            if($exception->getStatus() == LoginStatusEnum::TwoFactorRequired){
                $this->twofactor = true;
                $this->err = 'two factor';
            }else {
                $this->err = "login failed > " . $exception->getStatus() . " - data : " . (is_array($exception->getData()) ? implode(",",$exception->getData()) : $exception->getData());
            }
        }
    }
```

You could able to Customize your Auth stuff in Service Provider because everything are on default :

```
AuthPlus::AuthenticateMethod(AuthPlusAuthenticateUserDefualt::class);
AuthPlus::RedirectAuthenticated(AuthPlusRedirectAuthenticatedCustom::class);
AuthPlus::TwoFactorAuthenticator(AuthPlusTwoFactorSmsAuthenticator::class);
```

Router : if open route were enabled on auth config file there is no need to create route for each path Lol except the Index file should be managed on you !

##### Donate:

[](#donate-)

Good news ! If you enjoyed this package you could donate me by donating USDT to my wallet ! A Coffee or etc.
`USDT wallet Address (TRC20) : TBFJ3YirXc7vwwuRNeqhcBcQziB3h9bPbs`

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c6d0aef6afb8a0969909a0737bab5dbce0a7b824de322b36c835b723bdf4165?d=identicon)[net-pioneer](/maintainers/net-pioneer)

---

Top Contributors

[![net-pioneer](https://avatars.githubusercontent.com/u/25841118?v=4)](https://github.com/net-pioneer "net-pioneer (12 commits)")

### Embed Badge

![Health badge](/badges/net-pioneer-laravel-authplus/health.svg)

```
[![Health](https://phpackages.com/badges/net-pioneer-laravel-authplus/health.svg)](https://phpackages.com/packages/net-pioneer-laravel-authplus)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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