{"id":25648568,"url":"https://github.com/stats4sd/filament-team-management","last_synced_at":"2025-07-10T17:05:25.318Z","repository":{"id":258613997,"uuid":"874235929","full_name":"stats4sd/filament-team-management","owner":"stats4sd","description":"Package for an opinionated 'teams' setup, including invites and integration with Laravel Filament + Spatie User Roles","archived":false,"fork":false,"pushed_at":"2025-07-08T15:52:29.000Z","size":295,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-07-08T16:51:47.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stats4sd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"stats4sd"}},"created_at":"2024-10-17T13:30:12.000Z","updated_at":"2025-07-01T13:32:02.000Z","dependencies_parsed_at":"2024-10-28T10:35:42.299Z","dependency_job_id":"cbfecd49-4e2f-4434-861d-09547dab46ec","html_url":"https://github.com/stats4sd/filament-team-management","commit_stats":null,"previous_names":["stats4sd/filament-team-management"],"tags_count":9,"template":false,"template_full_name":"filamentphp/plugin-skeleton","purl":"pkg:github/stats4sd/filament-team-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Ffilament-team-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Ffilament-team-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Ffilament-team-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Ffilament-team-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stats4sd","download_url":"https://codeload.github.com/stats4sd/filament-team-management/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Ffilament-team-management/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264614429,"owners_count":23637583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-23T13:15:27.348Z","updated_at":"2025-07-10T17:05:25.313Z","avatar_url":"https://github.com/stats4sd.png","language":"PHP","funding_links":["https://github.com/sponsors/stats4sd"],"categories":[],"sub_categories":[],"readme":"# Filament Team Management\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/stats4sd/filament-team-management.svg?style=flat-square)](https://packagist.org/packages/stats4sd/filament-team-management)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/stats4sd/filament-team-management/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/stats4sd/filament-team-management/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/stats4sd/filament-team-management/fix-php-code-styling.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/stats4sd/filament-team-management/actions?query=workflow%3A\"Fix+PHP+code+styling\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/stats4sd/filament-team-management.svg?style=flat-square)](https://packagist.org/packages/stats4sd/filament-team-management)\n\nPackage for an opinionated 'teams' setup, including invites and integration with Laravel Filament + Spatie User Roles.\n\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require stats4sd/filament-team-management\n```\n\nThen, run the provided installation script. \n\n```bash\nphp artisan filament-team-management:install\n```\n\nThe script will ask you if you want to use the concept of \"programs\" in your app. Based on your response, it will publish the appropriate migration files and update your .env file with the appropriate variables. It will also offer to add some example Database Seeders to your main `database/seeders/DatabaseSeeder.php` file. \n\nFor a full guide on how to set this package up with a brand new Laravel installation, see [SETUP.md](SETUP.md)\n\n\n## Features\n\nThis app provides a set of models, Filament Resources and Mail classes that lets you quickly setup a Filament-based application that uses Teams to manage users. \n\n\n### Filament Resources\n\nThe intention is that this package is used for apps where you have 2 different Filament Panels: \n\n- An \"Admin\" panel, for administrators to manage users and teams.\n- An \"App\" panel, which uses multitenancy with teams as the tennant.\n\nYou can also optionally use 'programs', which are groups of teams. In this case, you may have a 3rd panel:\n\n- A \"Program\" panel, for program managers to manage the users and teams within their own program.\n\nThe Resources in this package are intended for one of these 3 panels, shown by their namespacing within the package. You can add these Resource classes to any panel in your `PanelProvider` class:\n\n```php\n$panel\n  ## add all resources in a namespace at once\n  -\u003ediscoverResources(in: app_path('../vendor/stats4sd/filament-team-management/src/Filament/Admin/Resources'), for: 'Stats4sd\\\\FilamentTeamManagement\\\\Admin\\\\Resources)\n  ## OR... add resources individually\n  -\u003eresources([\n    Stats4sd\\\\FilamentTeamManagement\\\\Admin\\\\Resources\\\\TeamResource,\n    ...\n])\n```\n\n### Invitations\n\nThis package includes the needed setup to let your users invite other users via email. You can invite a new user to join a specific team, a specific program, or with an assigned site-wide role.  \n\nTo make the registration work, you **must** add the pages in the namespace `Stats4sd\\\\FilamentTeamManagement\\\\App\\\\Pages` to one of your Panels. Otherwise the registration page will not be correctly registered in the app. \n\nFor example: \n\n```php\n$panel\n-\u003ediscoverPages(in: app_path('../vendor/stats4sd/filament-team-management/src/Filament/App/Pages'), for: 'Stats4sd\\\\FilamentTeamManagement\\\\Filament\\\\App\\\\Pages')\n```\n\n\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Dan Tang](https://github.com/stats4sd)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstats4sd%2Ffilament-team-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstats4sd%2Ffilament-team-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstats4sd%2Ffilament-team-management/lists"}