Download the PHP package escapehither/security-manager-bundle without Composer
On this page you can find all versions of the php package escapehither/security-manager-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download escapehither/security-manager-bundle
More information about escapehither/security-manager-bundle
Files in escapehither/security-manager-bundle
Package security-manager-bundle
Short Description a symfony bundle that manage security and user
License
Informations about the package security-manager-bundle
Escape Hither SecurityManagerBundle
Step 1: Download the Bundle
The Bundle is actually in a private Repository. In your Composer.json add:
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
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:
Step 3: Create your User class
Suppose you have a bundle name appBundle
<?php namespace AppBundle\Entity; use EscapeHither\SecurityManagerBundle\Entity\User as BaseUser;
Step 4: Import and define configuration
-
Import config file in
app/config/config.yml
for default filter set configuration:If you want a a backend to manage your resource. add in your config file
Import user routing file in
app/config/routing.yml
: Change administration to your secure area. -
Import routing files in
app/config/routing.yml
: -
Configuration reference:
-
Import security files in
app/config/security.yml
: - Install LexikJWTAuthenticationBundle: Add encoder for jwt.
Step 5: Update your database schema
All versions of security-manager-bundle with dependencies
doctrine/orm Version ^2.5
doctrine/doctrine-bundle Version ~1.6
doctrine/doctrine-cache-bundle Version ~1.2
symfony/polyfill-apcu Version ^1.0
symfony/serializer Version ~3.0|~4.0
lexik/jwt-authentication-bundle Version ^2.4
symfony/framework-bundle Version ~3.0|~4.0
symfony/dependency-injection Version ~3.0|~4.0
symfony/form Version ~3.0|~4.0