- How do I install stats4sd/filament-team-management in Laravel?
- Install it with Composer using composer require stats4sd/filament-team-management. Then follow the package README to publish any migrations and config, and register the plugin in your Filament panel provider. The exact setup steps depend on your Filament version, so check the README for current instructions.
- Does this package require Filament and Spatie permissions?
- Yes, it is designed as a Filament plugin and integrates with Spatie user roles for team-based permissions. You will need a Laravel app with Filament installed and Spatie's permission package available. Confirm the supported versions in composer.json before installing.
- How do team invitations work in this package?
- The package provides an opinionated invite flow for adding users to teams, including invitation handling and Filament interfaces. Invited users are associated with a team and then assigned team roles through the Spatie integration. Check the README for the exact invitation workflow and any required mail configuration.
- Can I use this package for multi-tenant Laravel applications?
- It is intended for team-based administration and can support multi-tenant or collaborative setups where users belong to teams. It handles team membership and team-scoped roles, but you should still review how it fits your tenant isolation strategy. For full tenant scoping, compare it with Filament's built-in tenancy features.
- Which Laravel and Filament versions are supported?
- Supported versions are defined by the package's Composer constraints and release history. Check the repository's composer.json and README for the exact Laravel and Filament versions. Because Filament plugins are tied to major versions, verify compatibility before upgrading.
- How do I assign roles to team members?
- The package integrates with Spatie user roles, so role assignment happens through the Filament team management interfaces. You can assign users to a team and then attach the appropriate role for that team context. Review the package resources for the exact role fields and policies.
- Can I customize the Filament resources provided by the package?
- Yes, Filament resources and interfaces are generally customizable by publishing views or extending resource classes, depending on what the package exposes. Check the README for publishable assets and configuration options. For deeper changes, subclass the provided resources or override the plugin registration.
- Is stats4sd/filament-team-management suitable for production?
- It is a real Composer package intended for Laravel and Filament admin panels, but you should evaluate its release activity, test coverage, and issue history for your risk tolerance. Run it through your own staging tests, especially around invitations and role changes. Pin a specific version in composer.json for production stability.
- How do I test team invitations and roles in Laravel?
- Use Laravel's testing tools to create users, teams, and invitations, then assert team membership and Spatie role assignments. Filament also provides testing helpers for Livewire components and resources. Mock mail or notifications so invitation tests do not send real emails.
- What are alternatives to this package for Laravel team management?
- Alternatives include building teams with Spatie laravel-permission's teams feature, using Filament's built-in tenancy, or other Filament team and membership plugins. This package is opinionated, so compare its invite flow and role model with your app's requirements. If you need broad multi-tenancy, Filament tenancy may be a better starting point.