PHPackages                             modera/security-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. [Security](/categories/security)
4. /
5. modera/security-bundle

ActiveSymfony-bundle[Security](/categories/security)

modera/security-bundle
======================

Provides database aware implementation of Security model + some other perks

v5.0.0(1y ago)35.7k↑1025%33MITPHPPHP &gt;=7.4CI failing

Since Jul 22Pushed 1y ago6 watchersCompare

[ Source](https://github.com/modera/ModeraSecurityBundle)[ Packagist](https://packagist.org/packages/modera/security-bundle)[ RSS](/packages/modera-security-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (20)Used By (3)

ModeraSecurityBundle
====================

[](#moderasecuritybundle)

Provides low level security integration layer for Symfony and a user-groups-permissions Doctrine ORM mapped domain model.

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

[](#installation)

### Step 1: Download the Bundle

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

```
composer require modera/security-bundle:5.x-dev
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the Bundle

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

This bundle should be automatically enabled by [Flex](https://symfony.com/doc/current/setup/flex.html). In case you don't use Flex, you'll need to manually enable the bundle by adding the following line in the `config/bundles.php` file of your project:

```
