PHPackages                             jeffersongoncalves/filament-teams - 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. [Admin Panels](/categories/admin)
4. /
5. jeffersongoncalves/filament-teams

ActiveLibrary[Admin Panels](/categories/admin)

jeffersongoncalves/filament-teams
=================================

A Filament plugin that adds multi-tenancy with Teams, memberships, and team invitations to your panels.

3.0.0(1mo ago)1192MITPHPPHP ^8.3CI passing

Since Jun 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/jeffersongoncalves/filament-teams)[ Packagist](https://packagist.org/packages/jeffersongoncalves/filament-teams)[ Docs](https://github.com/jeffersongoncalves/filament-teams)[ GitHub Sponsors](https://github.com/jeffersongoncalves)[ RSS](/packages/jeffersongoncalves-filament-teams/feed)WikiDiscussions 3.x Synced 2w ago

READMEChangelog (3)Dependencies (7)Versions (9)Used By (2)

[![Filament Teams](https://raw.githubusercontent.com/jeffersongoncalves/filament-teams/3.x/art/jeffersongoncalves-filament-teams.png)](https://raw.githubusercontent.com/jeffersongoncalves/filament-teams/3.x/art/jeffersongoncalves-filament-teams.png)

Filament Teams
==============

[](#filament-teams)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b540d7ab8d355c0419deec68edd647c09df1c2a6a8850def7cd6c57a83ec9df5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d7465616d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-teams)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7df12e869c90f8a58e3ae6ef14ebb55645a20cbe50a7fb0a97c771d9ce90e9b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d7465616d732f74657374732e796d6c3f6272616e63683d332e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-teams/actions?query=workflow%3Atests+branch%3A3.x)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d28cd5f1282c5785c504a9c0ff4b44ac6229790eb73ddd66a9290610f541e57b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d7465616d732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d332e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-teams/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3A3.x)[![Total Downloads](https://camo.githubusercontent.com/7829a4addf43e780869bb8c7f98c186e71d33770ab4f26140b8903243eba61f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d7465616d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-teams)[![License](https://camo.githubusercontent.com/7bcb1be982c0cb4325a0e7e66335d9f6e013b1c370a20e9eb9c0b35d0b41b528/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d7465616d732e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A Filament plugin that adds multi-tenancy with Teams, memberships, and team invitations to your panels. It builds on the framework-agnostic [`jeffersongoncalves/laravel-teams`](https://github.com/jeffersongoncalves/laravel-teams) core (models, migrations, policy and the `HasTeams` trait) and adds the Filament layer on top: a `HasTeamsFilament` trait for your `User` model, tenant registration and profile pages, an invitation acceptance flow, and optional admin resources to manage Teams and Team Invitations.

Features
--------

[](#features)

- 🏢 Multi-tenancy backed by a `Team` model
- 👥 Team memberships through a pivot model
- ✉️ Team invitations with accept / cancel flow
- 🪪 Personal team automatically created for every new user
- 🧩 `HasTeamsFilament` trait wiring all Filament tenancy contracts
- 🛠️ Optional admin resources for Teams and Team Invitations
- ⚙️ Configuration and migrations provided by `jeffersongoncalves/laravel-teams` (models, tables and guard are configurable)

Compatibility
-------------

[](#compatibility)

Plugin VersionFilamentPHPLaravel[1.x](https://github.com/jeffersongoncalves/filament-teams/tree/1.x)^3.0^8.1^10.0[2.x](https://github.com/jeffersongoncalves/filament-teams/tree/2.x)^4.0^8.2^11.0[3.x](https://github.com/jeffersongoncalves/filament-teams/tree/3.x)^5.0^8.3^12.0/^13.0Installation
------------

[](#installation)

You can install the package via composer (the `jeffersongoncalves/laravel-teams` core is pulled in automatically):

```
composer require jeffersongoncalves/filament-teams:"^3.0"
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="teams-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="teams-config"
```

Usage
-----

[](#usage)

### 1. Prepare your User model

[](#1-prepare-your-user-model)

Add the `HasTeamsFilament` trait and implement the Filament tenancy contracts on your `User` model. Your `users` table needs a `current_team_id` column (provided by the published migration).

```
use Filament\Models\Contracts\FilamentUser;
use Filament\Models\Contracts\HasDefaultTenant;
use Filament\Models\Contracts\HasTenants;
use Illuminate\Foundation\Auth\User as Authenticatable;
use JeffersonGoncalves\Filament\Teams\Concerns\HasTeamsFilament;

class User extends Authenticatable implements FilamentUser, HasDefaultTenant, HasTenants
{
    use HasTeamsFilament;
}
```

### 2. Register the plugin

[](#2-register-the-plugin)

```
use JeffersonGoncalves\Filament\Teams\FilamentTeamsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentTeamsPlugin::make()
                ->tenancy()            // enable tenant config (default: true)
                ->invitations()        // register the invitation acceptance page (default: true)
                ->resources()          // register the Teams & Team Invitations admin resources (default: false)
                ->tenantRoutePrefix('team'),
        ]);
}
```

The plugin will automatically configure the panel tenant model, tenant registration page, tenant profile page, and the tenant middleware.

Configuration
-------------

[](#configuration)

```
return [
    'guard' => 'web',
    'user_model' => 'App\\Models\\User',
    'personal_teams' => true,
    'models' => [
        'team' => \JeffersonGoncalves\Teams\Models\Team::class,
        'team_invitation' => \JeffersonGoncalves\Teams\Models\TeamInvitation::class,
        'membership' => \JeffersonGoncalves\Teams\Models\Membership::class,
    ],
    'tables' => [
        'teams' => 'teams',
        'memberships' => 'membership',
        'team_invitations' => 'team_invitations',
    ],
];
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jefferson Gonçalves](https://github.com/jeffersongoncalves)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance91

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~0 days

Total

6

Last Release

44d ago

Major Versions

1.0.0 → 2.x-dev2026-06-24

1.x-dev → 3.x-dev2026-06-24

PHP version history (3 changes)3.0.0PHP ^8.3

2.0.0PHP ^8.2

1.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

laravelmulti-tenancyfilamentfilament-pluginjeffersongoncalvesTeamsfilament-teams

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-filament-teams/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-filament-teams/health.svg)](https://phpackages.com/packages/jeffersongoncalves-filament-teams)
```

###  Alternatives

[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

85240.3k9](/packages/stephenjude-filament-two-factor-authentication)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

16461.2k](/packages/relaticle-custom-fields)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.8k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16321.5k](/packages/backstage-mails)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6758.2k2](/packages/marcelweidum-filament-passkeys)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

3515.5k5](/packages/inerba-filament-db-config)

PHPackages © 2026

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