PHPackages                             laravel-enso/user-groups - 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. laravel-enso/user-groups

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

laravel-enso/user-groups
========================

User group management backend for Laravel Enso

2.5.6(1mo ago)025.1k↓24.7%24MITPHP

Since Jun 9Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/laravel-enso/user-groups)[ Packagist](https://packagist.org/packages/laravel-enso/user-groups)[ Docs](https://github.com/laravel-enso/user-groups)[ RSS](/packages/laravel-enso-user-groups/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (29)Versions (25)Used By (4)

User Groups
===========

[](#user-groups)

[![License](https://camo.githubusercontent.com/a0bbb822178474e5eb729a83da64c2213b4837728921d139e02ec65e4aa048ac/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f757365722d67726f7570732f6c6963656e7365)](LICENSE)[![Stable](https://camo.githubusercontent.com/1cc559c8df833221a3e018bb57a76877ef04585bbaef13193119b7647026f4ba/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f757365722d67726f7570732f76657273696f6e)](https://packagist.org/packages/laravel-enso/user-groups)[![Downloads](https://camo.githubusercontent.com/17a759a0a07adee4de7416abb45e1ea2788bad28449409ece6c237cb6f0e44b0/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f757365722d67726f7570732f646f776e6c6f616473)](https://packagist.org/packages/laravel-enso/user-groups)[![PHP](https://camo.githubusercontent.com/da7cf113b588d26fe679dfefe4a15009272ed358ad4e786ad3c78b45faa61d69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322532422d3737376262342e737667)](composer.json)[![Issues](https://camo.githubusercontent.com/ac0091a6ecf4c379f83833de82bbd3b9834772372b374ecf4b232e8207eb9d58/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c61726176656c2d656e736f2f757365722d67726f7570732e737667)](https://github.com/laravel-enso/user-groups/issues)[![Merge Requests](https://camo.githubusercontent.com/db073e79a69d2d632133d462ca441d6f3e132a6cb5b7b42b5a6d13bba4a4213e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6c61726176656c2d656e736f2f757365722d67726f7570732e737667)](https://github.com/laravel-enso/user-groups/pulls)

Description
-----------

[](#description)

User Groups manages Enso user grouping and selection flows.

The package stores user group records, exposes create/edit/table/export endpoints, returns select options for other backend packages, and provides the enum and model used by the users package to classify accounts.

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

[](#installation)

Install the package:

```
composer require laravel-enso/user-groups
```

Run the migrations:

```
php artisan migrate
```

Features
--------

[](#features)

- CRUD API for user groups.
- Table bootstrap, data, and export endpoints.
- Select options endpoint for dependent forms.
- Shared enum and model consumed by `laravel-enso/users`.

Usage
-----

[](#usage)

Routes are registered under:

- prefix: `api/administration/userGroups`
- name prefix: `administration.userGroups.`
- middleware: `api`, `auth`, `core`

Endpoints:

- `GET create`
- `POST /`
- `GET {userGroup}/edit`
- `PATCH {userGroup}`
- `DELETE {userGroup}`
- `GET initTable`
- `GET tableData`
- `GET exportExcel`
- `GET options`

Main classes:

- `LaravelEnso\UserGroups\Models\UserGroup`
- `LaravelEnso\UserGroups\Enums\UserGroups`

API
---

[](#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
----------

[](#depends-on)

Required Enso packages:

- [`laravel-enso/core`](https://docs.laravel-enso.com/backend/core.html) [↗](https://github.com/laravel-enso/core)
- [`laravel-enso/enums`](https://docs.laravel-enso.com/backend/enums.html) [↗](https://github.com/laravel-enso/enums)
- [`laravel-enso/forms`](https://docs.laravel-enso.com/backend/forms.html) [↗](https://github.com/laravel-enso/forms)
- [`laravel-enso/helpers`](https://docs.laravel-enso.com/backend/helpers.html) [↗](https://github.com/laravel-enso/helpers)
- [`laravel-enso/migrator`](https://docs.laravel-enso.com/backend/migrator.html) [↗](https://github.com/laravel-enso/migrator)
- [`laravel-enso/rememberable`](https://docs.laravel-enso.com/backend/rememberable.html) [↗](https://github.com/laravel-enso/rememberable)
- [`laravel-enso/roles`](https://docs.laravel-enso.com/backend/roles.html) [↗](https://github.com/laravel-enso/roles)
- [`laravel-enso/select`](https://docs.laravel-enso.com/backend/select.html) [↗](https://github.com/laravel-enso/select)
- [`laravel-enso/tables`](https://docs.laravel-enso.com/backend/tables.html) [↗](https://github.com/laravel-enso/tables)
- [`laravel-enso/users`](https://docs.laravel-enso.com/backend/users.html) [↗](https://github.com/laravel-enso/users)

Companion frontend package:

- [`@enso-ui/user-groups`](https://docs.laravel-enso.com/frontend/user-groups.html) [↗](https://github.com/enso-ui/user-groups)

Contributions
-------------

[](#contributions)

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

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

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~106 days

Recently: every ~9 days

Total

18

Last Release

41d ago

Major Versions

1.1.1 → 2.0.02022-02-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16073274?v=4)[Adrian Ocneanu](/maintainers/aocneanu)[@aocneanu](https://github.com/aocneanu)

---

Top Contributors

[![vmcvlad](https://avatars.githubusercontent.com/u/37445394?v=4)](https://github.com/vmcvlad "vmcvlad (14 commits)")[![aocneanu](https://avatars.githubusercontent.com/u/16073274?v=4)](https://github.com/aocneanu "aocneanu (10 commits)")[![GITmanuela](https://avatars.githubusercontent.com/u/44998004?v=4)](https://github.com/GITmanuela "GITmanuela (4 commits)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")[![gandesc](https://avatars.githubusercontent.com/u/14071925?v=4)](https://github.com/gandesc "gandesc (1 commits)")

---

Tags

laravel-ensovue-bulmavue-spauser-groups

### Embed Badge

![Health badge](/badges/laravel-enso-user-groups/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-enso-user-groups/health.svg)](https://phpackages.com/packages/laravel-enso-user-groups)
```

###  Alternatives

[laravel-enso/localisation

Language and translation management for Laravel Enso

1362.8k10](/packages/laravel-enso-localisation)[laravel-enso/permissions

Permission management for Laravel Enso

1244.2k51](/packages/laravel-enso-permissions)[laravel-enso/roles

Role management for Laravel Enso

1044.9k32](/packages/laravel-enso-roles)[laravel-enso/core

The backend shell of a Laravel Enso application

3465.3k205](/packages/laravel-enso-core)[laravel-enso/data-import

Excel Importer dependency for Laravel Enso

2044.0k6](/packages/laravel-enso-data-import)[laravel-enso/tutorials

Tutorial management backend for Laravel Enso

1140.7k](/packages/laravel-enso-tutorials)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
