PHPackages                             flexphp/user-bundle - 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. flexphp/user-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

flexphp/user-bundle
===================

User bundle for Symfony

030PHP

Since Sep 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/flexphp/flex-user-bundle)[ Packagist](https://packagist.org/packages/flexphp/user-bundle)[ RSS](/packages/flexphp-user-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

User-Bundle
===========

[](#user-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/6b15c4ecab58a6eecb3b83be27907185b69196df3ead4cabe470addb2d62c27b/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f757365722d62756e646c652f762f737461626c65)](https://packagist.org/packages/flexphp/user-bundle)[![Total Downloads](https://camo.githubusercontent.com/34eb2a6ff905b370ed6b08b953383731f4c6736ee95371940e3d988936d58211/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f757365722d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/flexphp/user-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/260b501d8531a7132c7bf14e4c45cead8c26a254669f3ac2f94eeac8954512b3/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f757365722d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/flexphp/user-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/74cffc663ce4be0ba1d7905d3505059b659e70c3bec37a6a328904237cee9757/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c65787068702f666c65782d757365722d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/flexphp/flex-user-bundle)[![Code Coverage](https://camo.githubusercontent.com/608363653e7ff196e79dad865c59cff257611c609738ed67495c2fa678ef545f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c65787068702f666c65782d757365722d62756e646c652f6261646765732f636f7665726167652e706e67)](https://scrutinizer-ci.com/g/flexphp/flex-user-bundle)[![License](https://camo.githubusercontent.com/1167a5af1b2327d18bff7d81ddaa0fe93220dbae26f5cf2bebdb472b48f94858/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f757365722d62756e646c652f6c6963656e7365)](https://packagist.org/packages/flexphp/user-bundle)[![composer.lock](https://camo.githubusercontent.com/75b689ed5cc5aa508ce1c13200e744eccc575922a8d4d0e90b2897e83ba2cda0/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f757365722d62756e646c652f636f6d706f7365726c6f636b)](https://packagist.org/packages/flexphp/user-bundle)

User bundle for Symfony

Change between frameworks when you need. Keep It Simple, SOLID and DRY with FlexPHP.

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

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require user-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require user-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    FlexPHP\Bundle\FlexPHPUserBundle::class => ['all' => true],
];
```

License
-------

[](#license)

User-bundle is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c60ac20df03263408d2963d706e19c01d1f7afac05bd3cdb427894dbd1ae67d6?d=identicon)[freddiegar](/maintainers/freddiegar)

---

Top Contributors

[![freddiegar](https://avatars.githubusercontent.com/u/8710491?v=4)](https://github.com/freddiegar "freddiegar (12 commits)")

### Embed Badge

![Health badge](/badges/flexphp-user-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/flexphp-user-bundle/health.svg)](https://phpackages.com/packages/flexphp-user-bundle)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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