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(5mo ago)016MITPHPPHP ^8.1

Since Sep 1Pushed 5mo 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 today

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

36

—

LowBetter than 79% of packages

Maintenance70

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

169d ago

Major Versions

v1.0.0 → v2.0.02025-09-02

v2.1.0 → v3.0.02026-01-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/97641517?v=4)[Jolayemi Olugbenga David](/maintainers/sky-hackeR)[@sky-hackeR](https://github.com/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

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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