PHPackages                             skyhacker/laravel-multi-auth - 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. skyhacker/laravel-multi-auth

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

skyhacker/laravel-multi-auth
============================

Professional modular multi-auth generator for Laravel 10+

v3.0.7(4mo ago)015MITPHPPHP ^8.1

Since Sep 1Pushed 4mo agoCompare

[ Source](https://github.com/sky-hackeR/laravel-multiauth-laravel10)[ Packagist](https://packagist.org/packages/skyhacker/laravel-multi-auth)[ RSS](/packages/skyhacker-laravel-multi-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (12)Used By (0)

Laravel Multi-Auth (Laravel 10+) — Experimental
===============================================

[](#laravel-multi-auth-laravel-10--experimental)

⚠️ **Status: Experimental / Proof of Concept**

This package is an **experimental multi-authentication scaffolder** for Laravel 10+, created as a learning and exploration project around Laravel authentication internals.

It is published on Packagist for educational and prototyping purposes and **is not recommended for production use**.

Originally forked and upgraded from
[alaminfirdows/laravel-multi-auth](https://github.com/alaminfirdows/laravel-multi-auth).

---

🎯 Purpose of This Package
-------------------------

[](#-purpose-of-this-package)

This project was built to explore and demonstrate:

- Laravel authentication guards
- Dynamic modification of `config/auth.php`
- Artisan command development
- Code scaffolding (models, migrations, routes, controllers)
- Package structure and Packagist publishing

---

✨ Features (Experimental)
-------------------------

[](#-features-experimental)

- Scaffold multiple authentication guards (e.g. Admin, Teacher, Manager)
- Auto-generates:
    - Models (`App\Models\{Guard}`)
    - Migrations
    - Controllers
    - Route files (`routes/{guard}.php`)
- Updates authentication configuration
- Custom Artisan command

> ⚠️ Behaviour may be unstable across Laravel versions.

---

⚙️ Installation (For Testing / Learning Only)
---------------------------------------------

[](#️-installation-for-testing--learning-only)

`composer require skyhacker/laravel-multi-auth`

🚀 Usage Example
---------------

[](#-usage-example)

`php artisan laravel-multi-auth:install Admin -f`

This attempts to scaffold:

- Admin model
- Admin migration
- Admin routes
- Admin authentication controllers

---

🧪 Stability Notice
------------------

[](#-stability-notice)

This package:

- May break on newer Laravel updates
- Has not been battle-tested in production
- Is intended as a learning artifact, not a drop-in solution

If you need production-ready multi-auth, consider:

- Laravel Fortify
- Laravel Breeze with multiple guards
- Custom guard implementations

---

📦 Packagist
-----------

[](#-packagist)

This package is published on Packagist to demonstrate:

- Composer package creation
- Semantic versioning
- Open-source documentation practices

---

🧠 Lessons Learned
-----------------

[](#-lessons-learned)

Through this project, I gained hands-on experience with:

- Laravel authentication internals
- Artisan command development
- Package publishing workflows
- API design trade-offs

---

🤝 Contributions
---------------

[](#-contributions)

This repository is currently not actively maintained.
Feel free to fork or experiment for learning purposes.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance78

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Recently: every ~0 days

Total

11

Last Release

122d ago

Major Versions

v1.0.0 → v2.0.02025-09-02

v2.1.0 → v3.0.02026-01-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/582a3cac73916d946bacd09bf4ac23022396ce532444f67ca520660e9f9c8a98?d=identicon)[sky-hackeR](/maintainers/sky-hackeR)

---

Top Contributors

[![sky-hackeR](https://avatars.githubusercontent.com/u/97641517?v=4)](https://github.com/sky-hackeR "sky-hackeR (9 commits)")

### Embed Badge

![Health badge](/badges/skyhacker-laravel-multi-auth/health.svg)

```
[![Health](https://phpackages.com/badges/skyhacker-laravel-multi-auth/health.svg)](https://phpackages.com/packages/skyhacker-laravel-multi-auth)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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