PHPackages                             imokhles/multi-backpack - 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. imokhles/multi-backpack

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

imokhles/multi-backpack
=======================

create laravel multi-auth files, middleware, models, migrations etc with backpack

0.8.5(7y ago)146MITPHPPHP &gt;=5.6.0

Since Oct 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/iMokhles/MultiAuthCommand-BackPack)[ Packagist](https://packagist.org/packages/imokhles/multi-backpack)[ RSS](/packages/imokhles-multi-backpack/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (0)

MultiAuthCommand-BackPack
=========================

[](#multiauthcommand-backpack)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4fe6759f8618434ee42032e6c5b9ed622ffddc9f3ebcf10a872bc0238d671d96/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696d6f6b686c65732f6d756c74692d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imokhles/multi-backpack)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f6768cdac710a7e7d845356528187c117590ebfcdae5a3fbb988ddf4d656e20e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f694d6f6b686c65732f4d756c746941757468436f6d6d616e642d4261636b5061636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/iMokhles/MultiAuthCommand-BackPack)[![Build Status](https://camo.githubusercontent.com/922f9b3f78d9be0b6ff570a7ca8ca81b31029fe17de8d5f569d5af22dd1387f5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f694d6f6b686c65732f4d756c746941757468436f6d6d616e642d4261636b5061636b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/iMokhles/MultiAuthCommand-BackPack/build-status/master)[![Total Downloads](https://camo.githubusercontent.com/d6164e1ec5cf7a78e014edbeca0dee7d03fac66c211c2d8662897aff313defcc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d6f6b686c65732f6d756c74692d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imokhles/multi-backpack)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

create multi authentication guards with backpack panel

Before Install
--------------

[](#before-install)

1. install Backpack CRUD/Base by following this Doc [Backpack-Installation](https://backpackforlaravel.com/docs/3.4/installation)
2. go to `config/backpack/base.php` and apply the following changes

- `route_prefix => '' ( emove it's value should be empty )`
- `setup_auth_routes => true ( make it false)`
- `setup_dashboard_routes => true ( make it false)`
- `setup_my_account_routes => true ( make it false )`
- `user_model_fqn => '' ( remove it's value should be empty )`
- `middleware_class => '' ( remove it's value should be empty )`

Install
-------

[](#install)

1. In your terminal via composer:

```
composer require imokhles/multi-backpack
```

2. Add this provider to your config/app.php ( no need for Laravel 5.5 and above ) :

```
iMokhles\MultiAuthBackPack\MultiAuthBackPackServiceProvider::class

```

Usage
-----

[](#usage)

Example usage:

```
php artisan make:multi-backpack Admin --admin_theme="adminox" or --admin_theme="adminlte"
```

##### then

[](#then)

- go to `config/backpack/base.php`
- update `user_model_fqn => Admin::class`

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [iMokhles](http://github.com/imokhles)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

[![Beerpay](https://camo.githubusercontent.com/5dac48a087912165865bee513a1f2d2be2807e1b99b8911372e81c4edeb7267c/68747470733a2f2f626565727061792e696f2f694d6f6b686c65732f4d756c746941757468436f6d6d616e642f62616467652e7376673f7374796c653d626565722d737175617265)](https://beerpay.io/iMokhles/MultiAuthCommand) [![Beerpay](https://camo.githubusercontent.com/215f165b9952eea058b5efd8e85a94b267b70ee610692c105c627231fe3333d2/68747470733a2f2f626565727061792e696f2f694d6f6b686c65732f4d756c746941757468436f6d6d616e642f6d616b652d776973682e7376673f7374796c653d666c61742d737175617265)](https://beerpay.io/iMokhles/MultiAuthCommand?focus=wish)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

13

Last Release

2755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57b8493865caa43e232d5ed05770d2b848e13ee9c39aec0de3f7ebd12dab2882?d=identicon)[iMokhles](/maintainers/iMokhles)

---

Top Contributors

[![iMokhles](https://avatars.githubusercontent.com/u/1247248?v=4)](https://github.com/iMokhles "iMokhles (17 commits)")

---

Tags

backpackbackpack-authlaravel-admin-crudlaravel-admin-panellaravel-multi-authlaravel-multiple-authenticationlaravel-multiple-backpackmulti-backpackmulti-guardlaravelLaravel multiauthLaravel Multi Authlaravel multiple authentication

### Embed Badge

![Health badge](/badges/imokhles-multi-backpack/health.svg)

```
[![Health](https://phpackages.com/badges/imokhles-multi-backpack/health.svg)](https://phpackages.com/packages/imokhles-multi-backpack)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5682.0M15](/packages/directorytree-ldaprecord-laravel)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[franbarbalopez/mirror

Mirror is a Laravel package that handles user impersonation.

1548.1k](/packages/franbarbalopez-mirror)

PHPackages © 2026

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