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

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

friendsofsymfony/user-bundle
============================

Symfony FOSUserBundle

v4.1.0(3mo ago)3.3k35.9M↓46.4%1.5k[106 issues](https://github.com/FriendsOfSymfony/FOSUserBundle/issues)[8 PRs](https://github.com/FriendsOfSymfony/FOSUserBundle/pulls)20MITPHPPHP ^8.2CI passing

Since Dec 15Pushed 3mo ago153 watchersCompare

[ Source](https://github.com/FriendsOfSymfony/FOSUserBundle)[ Packagist](https://packagist.org/packages/friendsofsymfony/user-bundle)[ Docs](http://friendsofsymfony.github.com)[ RSS](/packages/friendsofsymfony-user-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (25)Versions (44)Used By (20)Security (4)

FOSUserBundle
=============

[](#fosuserbundle)

The FOSUserBundle adds support for a database-backed user system in Symfony2+. It provides a flexible framework for user management that aims to handle common tasks such as user registration and password retrieval.

Features include:

- Users can be stored via Doctrine ORM or MongoDB ODM
- Registration support, with an optional confirmation per email
- Password reset support
- Unit tested

**Note:** This bundle does *not* provide an authentication system but can provide the user provider for the core [SecurityBundle](https://symfony.com/doc/current/book/security.html).

[![Build Status](https://github.com/FriendsOfSymfony/FOSUserBundle/workflows/CI/badge.svg?branch=master)](https://github.com/FriendsOfSymfony/FOSUserBundle/actions?query=workflow%3ACI+branch%3Amaster) [![Total Downloads](https://camo.githubusercontent.com/d9fde8eeec4c31dfa32c98f3e456da60ac3be74eaac63e6721ec6a0b9c10d50a/68747470733a2f2f706f7365722e707567782e6f72672f667269656e64736f6673796d666f6e792f757365722d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/friendsofsymfony/user-bundle) [![Latest Stable Version](https://camo.githubusercontent.com/5e7774d77636747d160e198ab78ff37143b1883936bd58c2efbee2ab9665780c/68747470733a2f2f706f7365722e707567782e6f72672f667269656e64736f6673796d666f6e792f757365722d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/friendsofsymfony/user-bundle)

Maintenance status
------------------

[](#maintenance-status)

The package only receives minimal maintenance to allow existing projects to upgrade. Existing projects are expected to plan a migration away from this bundle.

**New projects should not use this bundle.** It is actually much easier to implement the User entity in the project (allowing to fit exactly the need of the project). Regarding the extra features of the bundle:

- the EntityUserProvider of Symfony already provides the UserProvider when using the Doctrine ORM (and other object managers integrated with Symfony have an equivalent feature)
- change password is easy to implement in the project. That's a simple form relying on core Symfony features (the validator for the current password is in core since years)
- email verification is provided by
- password reset is provided by
- registration is easier to implement in the project directly to fit the need of the project, especially when the User entity is in the project. symfony/form already provides everything you need
- the ProfileController showing a profile page for the user is better done in projects needing it, as the content is likely not enough anyway

Documentation
-------------

[](#documentation)

The source of the documentation is stored in the `docs/` folder in this bundle.

[Read the Documentation for the current branch](docs/index.rst)

License
-------

[](#license)

This bundle is under the MIT license. See the complete license [in the bundle](LICENSE)

About
-----

[](#about)

UserBundle is a [knplabs](https://github.com/knplabs) initiative. See also the list of [contributors](https://github.com/FriendsOfSymfony/FOSUserBundle/contributors).

Reporting an issue or a feature request
---------------------------------------

[](#reporting-an-issue-or-a-feature-request)

Issues and feature requests are tracked in the [Github issue tracker](https://github.com/FriendsOfSymfony/FOSUserBundle/issues).

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the [Symfony Standard Edition](https://github.com/symfony/symfony-standard)to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.

###  Health Score

79

—

ExcellentBetter than 100% of packages

Maintenance78

Regular maintenance activity

Popularity80

Widely adopted with strong download metrics

Community60

Healthy contributor diversity

Maturity88

Battle-tested with a long release history

 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 ~123 days

Recently: every ~150 days

Total

43

Last Release

116d ago

Major Versions

v1.3.5 → v2.0.0-alpha12014-09-26

v1.3.6 → v2.0.0-alpha22015-09-15

v1.3.7 → v2.0.0-beta12016-11-29

v2.2.4 → v3.0.02022-04-28

v3.4.0 → v4.0.02024-07-04

PHP version history (7 changes)1.1.0PHP &gt;=5.3.2

v2.0.0-alpha2PHP &gt;=5.3.9

v2.0.0-beta1PHP ^5.5.9 || ^7.0

v2.2.0PHP ^7.1.3 || ^8.0

v3.0.0PHP ^7.4 || ^8.0

v4.0.0PHP ^8.1

v4.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/75c5d927b0434111db9720dd78af8c83385cf28bb9aeafd031ba8cb0c4ffc558?d=identicon)[Stof](/maintainers/Stof)

---

Top Contributors

[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1179 commits)")[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (433 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (424 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (225 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (51 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (43 commits)")[![Herzult](https://avatars.githubusercontent.com/u/177588?v=4)](https://github.com/Herzult "Herzult (41 commits)")[![dustin10](https://avatars.githubusercontent.com/u/546381?v=4)](https://github.com/dustin10 "dustin10 (38 commits)")[![1ed](https://avatars.githubusercontent.com/u/162986?v=4)](https://github.com/1ed "1ed (33 commits)")[![weaverryan](https://avatars.githubusercontent.com/u/121003?v=4)](https://github.com/weaverryan "weaverryan (30 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (24 commits)")[![merk](https://avatars.githubusercontent.com/u/278097?v=4)](https://github.com/merk "merk (23 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (17 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (14 commits)")[![julesbou](https://avatars.githubusercontent.com/u/328303?v=4)](https://github.com/julesbou "julesbou (14 commits)")[![core23](https://avatars.githubusercontent.com/u/3440437?v=4)](https://github.com/core23 "core23 (12 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (12 commits)")[![cedriclombardot](https://avatars.githubusercontent.com/u/651484?v=4)](https://github.com/cedriclombardot "cedriclombardot (11 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (11 commits)")[![mweimerskirch](https://avatars.githubusercontent.com/u/362092?v=4)](https://github.com/mweimerskirch "mweimerskirch (10 commits)")

---

Tags

bundlehacktoberfestphpsymfonysymfony-bundleuser-managementUser management

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9017.2k55](/packages/open-dxp-opendxp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M710](/packages/sylius-sylius)

PHPackages © 2026

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