PHPackages                             p2/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. p2/security-bundle

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

p2/security-bundle
==================

Enhances the Symfony SecurityBundle

1.0.0(12y ago)332MITPHPPHP &gt;=5.3.3

Since Jul 15Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (0)

P2SecurityBundle
================

[](#p2securitybundle)

### Installation

[](#installation)

```
"require": {
    "p2/security-bundle": "~1.0"
}

```

### Configuration

[](#configuration)

```
p2_security:
    document:   Acme\UserBundle\Document\User   # The user document class
    manager:    @user_manager                   # The service id of your user manager
    encoder:    sha256                          # The encoder algorithm to use

```

### Usage

[](#usage)

Simply extend your user document with the P2 Security user class.

```
