PHPackages                             fastfony/identity-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. fastfony/identity-bundle

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

fastfony/identity-bundle
========================

Symfony bundle focused on identification and the management of users, roles and groups

v1.1.4(3mo ago)13.7k↑299.3%MITPHPPHP &gt;=8.1

Since Feb 6Pushed 2mo agoCompare

[ Source](https://github.com/fastfony/identity-bundle)[ Packagist](https://packagist.org/packages/fastfony/identity-bundle)[ RSS](/packages/fastfony-identity-bundle/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (5)Dependencies (43)Versions (8)Used By (0)

FastfonyIdentityBundle
======================

[](#fastfonyidentitybundle)

A Symfony bundle focused on identification and the management of users, roles and groups.

Features
--------

[](#features)

- 👤 **User Management**: Complete user entity with email authentication
- 🆔 **User Access**: Login with form or magic login link
- ⏳ **Account Activation**: Optional email verification for new users
- 🔄 **Password Management**: Secure password hashing and reset functionality
- 📧 **Email Integration**: Built-in email templates for login links and password resets
- 🕒 **Last Login Tracking**: Automatically updates last login timestamp
- 🔐 **Role-Based Access Control**: Flexible role system with many-to-many relationships
- 👥 **Group Support**: Organize users into groups with inherited roles
- 🔒 **Security Integration**: Full integration with Symfony Security component
- 📊 **Doctrine ORM**: Ready-to-use entities with Doctrine annotations
- ⚙️ **Configurable**: Easy configuration through YAML files

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

[](#installation)

Install the bundle via Composer:

```
composer require fastfony/identity-bundle
```

This will automatically install the required dependencies including:

- `stof/doctrine-extensions-bundle` for automatic timestamp management
- `symfony/mailer symfony/notifier symfony/twig-bundle twig/extra-bundle twig/cssinliner-extra twig/inky-extra` for email functionalities
- `symfony/rate-limiter` for login throttling
- `symfony/translation` for translations
- `symfony/uid` for unique identifiers (in the reset functionality)
- `symfony/form` for register, login and password request form view and handling

Configuration
-------------

[](#configuration)

### 1. Enable the Bundle

[](#1-enable-the-bundle)

If you're using Symfony Flex and you have play the recipe for the bundle, the bundle will be automatically enabled and config files will be created and you can directly read the section [Use the Bundle](#use-the-bundle).

Otherwise, add it to `config/bundles.php`:

```
return [
    // ...
    Fastfony\IdentityBundle\FastfonyIdentityBundle::class => ['all' => true],
    Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
];
```

### 2. Configuration

[](#2-configuration)

If you don't use Symfony Flex, see [Configuration](docs/configuration.md) for the configuration of the bundle.

Use the bundle
--------------

[](#use-the-bundle)

### 1. Create Database Schema

[](#1-create-database-schema)

#### Option 1 - With migrations (recommended):

[](#option-1---with-migrations-recommended)

Generate and run migrations to create the database tables:

```
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
```

#### Option 2 - Without migrations:

[](#option-2---without-migrations)

Alternatively, you can create the schema directly:

```
php bin/console doctrine:schema:update --force
```

**It's done!** 🥳 You can now start using the bundle.

### 2. Register your first user

[](#2-register-your-first-user)

#### Option 1 - With command:

[](#option-1---with-command)

```
php bin/console fastfony:user:create
```

#### Option 2 - With your browser:

[](#option-2---with-your-browser)

Go to the `/register` route in order to create the first user account, be sure that your MAILER\_DSN is correctly configure and sending messages async is disabled (or your messages consumer command is running) for receive the login link e-mail.

### 3. Usage

[](#3-usage)

By default, routes behind /secure-area require the user logged in (you can change that in `config/packages/security.yaml`).

More detailed usage instructions and customizations can be found in the [Documentation](docs/index.md).

License
-------

[](#license)

This bundle is released under the MIT License. See the [LICENSE](LICENSE) file for details.

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Support
-------

[](#support)

For issues, questions, or contributions, please visit the [GitHub repository](https://github.com/fastfony/identity-bundle).

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance82

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69% 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.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~10 days

Total

7

Last Release

100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7883b2c582d55dda0ef0c937bd91940105d128c102b0bcaf47879e257a9b7159?d=identicon)[neothone](/maintainers/neothone)

---

Top Contributors

[![neothone](https://avatars.githubusercontent.com/u/13251143?v=4)](https://github.com/neothone "neothone (29 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (13 commits)")

---

Tags

symfonybundleAuthenticationuseridentitygrouprole

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fastfony-identity-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M429](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k6.0M777](/packages/sylius-sylius)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)[pimcore/pimcore

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

3.8k3.9M535](/packages/pimcore-pimcore)[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)

PHPackages © 2026

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