xm/security-bundle

Extends the FOSUserBundle customizing and adding some functionality.

0.2.20 2021-03-18 21:54 UTC

This package is auto-updated.

Last update: 2024-02-19 04:13:47 UTC


README

Extends the FOSUserBundle customizing and adding some functionality.

Installation

Step 1: Download the Bundle

This package is not on Packagist, so the repository will need to be added manually in composer.json

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

$ php composer.phar require xm/security-bundle

This command requires Composer.

Step 2: Enable the Bundle

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

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new XM\SecurityBundle\XMSecurityBundle(),
        );

        // ...
    }
}