PHPackages                             codelabmw/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codelabmw/teams

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

codelabmw/teams
===============

Provides team management logic to be paired with any UI framework.

v0.2.1-stable(2y ago)013MITPHPPHP ^8.0

Since Mar 21Pushed 2y agoCompare

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

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

**Teams**
=========

[](#teams)

A laravel package from [**Codelab**](https://codelab.mw) that handles team management business logic onbehalf of your laravel application. It can be used with any UI framework.

The main purpose of the package is to provide resource sharing as well as compartmentalization of the shared resources.

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

[](#installation)

To add the package in your laravel project run the following command.

`composer require codelabmw/teams`

After the installation, run the following command to publish the migration and config files.

`php artisan vendor:publish --tag=codelab-teams`

And then run the following command to create necessary tables.

`php artisan migrate`

Usage
-----

[](#usage)

### Creating a team

[](#creating-a-team)

To start creating teams, in your model acting as a team entity *(the model of your choice to have teams)* add the `HasTeam` trait.

```
