jurager/teams

Laravel package to manage team functionality and operate with user permissions.

Maintainers

Package info

github.com/Jurager/teams

pkg:composer/jurager/teams

Statistics

Installs: 19 490

Dependents: 0

Suggesters: 0

Stars: 230

Open Issues: 2

3.0.5 2026-04-16 06:44 UTC

This package is auto-updated.

Last update: 2026-04-24 19:53:22 UTC


README

Latest Stable Version Total Downloads PHP Version Require License

A Laravel package for managing teams and user permissions, supporting multi-tenant dynamic roles, role groups, and team-specific permissions.

Users can be organized into groups within teams, each with custom permissions and abilities. Permissions assigned to a user group override individual user permissions within a team.

Additionally, users can be added to a global group to grant them access across all teams with the group's permissions. This feature is ideal for scenarios like providing support across multiple teams without the need to add users to each team individually.

Features:

  • Assign roles to team members, each with its own set of permissions
  • Wildcard permission matching — e.g. posts.* covers all post-related actions
  • Organize members into groups that can grant or restrict access beyond their role
  • Control access to individual records — allow or forbid actions on specific model instances
  • Global groups for users who need access across all teams (e.g. support staff)
  • Protect routes with built-in role, permission, and ability middleware
  • Invite users to a team by email via signed links
  • Events fired on team and membership changes for easy extensibility

Requirements

  • PHP >= 8.1
  • Laravel 8+

Installation

To install, configure and learn how to use please go to the Documentation.

License

This package is open-sourced software licensed under the MIT license.