PHPackages                             cobraprojects/laravel-multiauth - 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. cobraprojects/laravel-multiauth

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

cobraprojects/laravel-multiauth
===============================

Laravel Multiauth package

v3.1(3y ago)32341[1 PRs](https://github.com/cobraprojects/laravel-multiauth/pulls)MITCSS

Since Jul 28Pushed 3y agoCompare

[ Source](https://github.com/cobraprojects/laravel-multiauth)[ Packagist](https://packagist.org/packages/cobraprojects/laravel-multiauth)[ RSS](/packages/cobraprojects-laravel-multiauth/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (17)Used By (0)

Arabic admin panel with laravel multi auth system
=================================================

[](#arabic-admin-panel-with-laravel-multi-auth-system)

this help to fast start my admin panel with multiauth guards and easy to customize package.

- Enable multi Auth system for any guards you need (default: user &amp; admin).
- publish views for the admin panel so you can overrride it.
- Adds another views-admin directory avialble to seperate your admin views from your site views
- Configrable setting to mange it as you want (prefix - redirect url - guard name - table name)
- Built in roles and permissions

### Installation

[](#installation)

Install the package to laravel via composer.

```
$ composer require cobraprojects/laravel-multiauth
```

Puplish `config`, `migration`, `migrate the database`, `assets`, `views`, install all dependencies via `npm`, run `laravel mix` and `seed` admin user. all above with the next `artisan` command:

```
$ php artisan multiauth:install
```

### Defult Settings

[](#defult-settings)

By default it will install every thing you need to start your multiauth and the admin panel.

You can login to your admin panel by `http://yourdomain.com/admin`the default username is `super@admin.com`. the default password is `password`. you can change these values from the `config/multiauth.php` file

### Config file

[](#config-file)

Keydefault valueactionadmin\_activetrueenable / disable the admin paneladmin.validationsemptyarray for validate admin register formprefixadminthe prefix for your routes to access the admin panel ([http://domain.com/`prefix`](http://domain.com/%60prefix%60)) this will also change the login email address super@ `prefix`.comregistration\_notification\_emailfalseenable/disable notify new registerd admin via emailredirect\_after\_loginadmin.homethe route name of your admin home page to redirect logged admis to itmodels.adminCobraProjects\\Multiauth\\Model\\Admin::classthe admin class if you need to use your ownmodels.roleCobraProjects\\Multiauth\\Model\\Role::classthe role class if you need to use your ownmodels.permissionCobraProjects\\Multiauth\\Model\\permission::classthe permission class if you need to use your own### Create new role

[](#create-new-role)

you can use the admin panel or `artisan` command.

1- Using artisan command

```
$ php artisan multiauth:role rolename
```

2- Using Interface Just go to you can add, edit or delete roles from this page Note: only admin with the role `super` can view this page.

### Create new permission

[](#create-new-permission)

1. Create a new crud permissions for any model:

```
$ php artisan multiauth:permissions {model}
```

Here {model} means for which model you want to create crud permissions for. For example, if you run `php artisan multiauth:permissions blog` then it will create following permissions:

- CreateBlog
- ReadBlog
- UpdateBlog
- DeleteBlog

2. You can create single permission for any model

```
$ php artisan multiauth:permission --name={permissionName} {model}
```

or example, if you run `php artisan multiauth:permissions blog --name=Publish` It will create a permission in your database called `PublishBlog`.

### Todos

[](#todos)

- permissions views to add from admin panel
- command to link role with permissions

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Recently: every ~84 days

Total

16

Last Release

1141d ago

Major Versions

v1.3 → v2.1.02021-05-17

v2.6 → v3.12023-03-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/578ae736d86e8a147c2e5e36a715eeb8e22dc88e7374b38ce64750b552208af6?d=identicon)[cobraprojects](/maintainers/cobraprojects)

---

Top Contributors

[![cobraprojects](https://avatars.githubusercontent.com/u/42706279?v=4)](https://github.com/cobraprojects "cobraprojects (30 commits)")

---

Tags

multiauthlaravel-permissionsmulti-authlaravel-aclLaravel multiauthadmin authlaravel roles permissionscobraprojects

### Embed Badge

![Health badge](/badges/cobraprojects-laravel-multiauth/health.svg)

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

###  Alternatives

[bitfumes/laravel-multiauth

Laravel Multiauth package

46534.7k1](/packages/bitfumes-laravel-multiauth)[jeremykenedy/laravel-roles

A Powerful package for handling roles and permissions in Laravel. Supports Laravel 5.3 up to 12.

1.0k826.8k7](/packages/jeremykenedy-laravel-roles)[imanghafoori/laravel-heyman

A package to help you write expressive defensive code in a functional manner

92537.1k5](/packages/imanghafoori-laravel-heyman)[smartins/passport-multiauth

Add support to multi-auth on Laravel Passport

285324.2k1](/packages/smartins-passport-multiauth)[sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

5030.7k](/packages/sarav-laravel-multiauth)[laravel-enso/permissions

Permissions dependency for Laravel Enso

1242.6k32](/packages/laravel-enso-permissions)

PHPackages © 2026

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