PHPackages                             fox-run-holdings/laravel-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. fox-run-holdings/laravel-teams

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

fox-run-holdings/laravel-teams
==============================

A Laravel package for team management with invitations and role-based access control

v3.0.2(10mo ago)012MITPHPPHP ^8.1

Since Jul 11Pushed 10mo agoCompare

[ Source](https://github.com/fox-run-holdings/laravel-teams)[ Packagist](https://packagist.org/packages/fox-run-holdings/laravel-teams)[ RSS](/packages/fox-run-holdings-laravel-teams/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (20)Used By (0)

Laravel Teams Package
=====================

[](#laravel-teams-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b30803bbf079eac16d2a5e4026beaa71a8819cc8a7b8eafc005628d0a32a719c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f782d72756e2d686f6c64696e67732f6c61726176656c2d7465616d732e737667)](https://packagist.org/packages/fox-run-holdings/laravel-teams)[![Total Downloads](https://camo.githubusercontent.com/cf7a54c2c18343552baa4752c6cc16ca6e62ea0ab469603c79cfb1583d839300/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f782d72756e2d686f6c64696e67732f6c61726176656c2d7465616d732e737667)](https://packagist.org/packages/fox-run-holdings/laravel-teams)[![License](https://camo.githubusercontent.com/bacb9e4698232d520a2ae5283b4331298c9bb17e55afc36a2e67c933b156ee67/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666f782d72756e2d686f6c64696e67732f6c61726176656c2d7465616d732e737667)](https://packagist.org/packages/fox-run-holdings/laravel-teams)

A comprehensive Laravel package for team management with invitations and role-based access control.

Features
--------

[](#features)

- **Team Management**: Create, edit, and manage teams
- **Role-Based Access Control**: Owner, Admin, and Member roles
- **Team Invitations**: Send and manage team invitations
- **Team Switching**: Switch between teams seamlessly
- **Livewire Components**: Modern, reactive UI components
- **Soft Deletes**: Safe team deletion with soft deletes
- **Pagination**: Built-in pagination for team listings

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

[](#installation)

### Prerequisites

[](#prerequisites)

This package requires **Flux UI Pro** to be installed in your Laravel application. The views and components use Flux UI Pro components.

If you haven't installed Flux UI Pro yet, please install it first:

```
composer require flux-ui/flux-ui-pro
```

### 1. Install the package

[](#1-install-the-package)

```
composer require fox-run-holdings/laravel-teams
```

### 2. Publish the configuration and views

[](#2-publish-the-configuration-and-views)

```
php artisan vendor:publish --provider="FoxRunHoldings\LaravelTeams\Providers\TeamsServiceProvider"
```

### 3. Run the migrations

[](#3-run-the-migrations)

```
php artisan migrate
```

### 4. Add team relationships to your User model

[](#4-add-team-relationships-to-your-user-model)

Add the following methods to your `App\Models\User` model:

```
