Team management backend for Laravel Enso

Maintainers

Package info

github.com/laravel-enso/teams

pkg:composer/laravel-enso/teams

Statistics

Installs: 38 158

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0


README

License Stable Downloads PHP Issues Merge Requests

Description

Teams adds lightweight team administration to Laravel Enso.

The package stores team records, manages user membership through a pivot table, exposes CRUD-style API endpoints plus select options, and registers search integration for the team model.

Installation

Install the package:

composer require laravel-enso/teams

Run the migrations:

php artisan migrate

Features

  • Team model plus many-to-many user membership pivot.
  • Index, store, destroy, and options endpoints.
  • Request validation through ValidateTeam.
  • JSON resources for API payloads.
  • Search service provider registration for team search integration.

Usage

Routes are registered under:

  • prefix: api/administration/teams
  • name prefix: administration.teams.
  • middleware: api, auth, core

Endpoints:

  • GET /
  • POST /
  • DELETE {team}
  • GET options

The main model is LaravelEnso\Teams\Models\Team.

API

This package exposes its backend integration through the routes, controllers, services, jobs, and configuration points referenced in the usage examples above.

Consumers should rely on the published config keys, documented route groups, and explicit service classes shown in the examples. Internal helper classes, listeners, casts, and background jobs are implementation details unless the README calls them out as extension points.

Depends On

Required Enso packages:

Companion frontend package:

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!