PHPackages                             isaacdew/laravel-fortify-multitenancy - 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. isaacdew/laravel-fortify-multitenancy

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

isaacdew/laravel-fortify-multitenancy
=====================================

A package that makes it easy to setup subdomain-based multitenancy with Laravel Fortify.

26PHP

Since May 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/isaacdew/laravel-fortify-multitenancy)[ Packagist](https://packagist.org/packages/isaacdew/laravel-fortify-multitenancy)[ RSS](/packages/isaacdew-laravel-fortify-multitenancy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-fortify-multitenancy
============================

[](#laravel-fortify-multitenancy)

Installation
------------

[](#installation)

`composer require isaacdew/laravel-fortify-multitenancy`

`php artisan vendor:publish --tag=laravel-fortify-multitenancy-migrations`

Add the `SetTenant` middleware to the top of the `$middleware` property in your `Kernel.php`:

```
namespace App\Http;

use Isaacdew\LaravelFortifyMultitenancy\SetTenant;
use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
    /**
     * The application's global HTTP middleware stack.
     *
     * These middleware are run during every request to your application.
     *
     * @var array
     */
    protected $middleware = [
        SetTenant::class,
        // \App\Http\Middleware\TrustHosts::class,
        \App\Http\Middleware\TrustProxies::class,
        \Illuminate\Http\Middleware\HandleCors::class,
        \App\Http\Middleware\PreventRequestsDuringMaintenance::class,
        ...
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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/9aec44f4a61e60edaedd15ce951a0a316cbb813a07b6c604790311c4abdb40db?d=identicon)[isaacdew](/maintainers/isaacdew)

---

Top Contributors

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

---

Tags

fortifylaravellaravel-package

### Embed Badge

![Health badge](/badges/isaacdew-laravel-fortify-multitenancy/health.svg)

```
[![Health](https://phpackages.com/badges/isaacdew-laravel-fortify-multitenancy/health.svg)](https://phpackages.com/packages/isaacdew-laravel-fortify-multitenancy)
```

###  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)
