Download the PHP package alpixel/userbundle without Composer
On this page you can find all versions of the php package alpixel/userbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alpixel/userbundle
More information about alpixel/userbundle
Files in alpixel/userbundle
Package userbundle
Short Description FOSUserBundle integration to Sonata & ALPIXEL tools
License MIT
Homepage https://www.alpixel.fr
Informations about the package userbundle
AlpixelUserBundle
The AlpixelUserBundle is an integration of FOSUserBundle + Sonata admin for ALPIXEL projects.
It comes bundled with 2 main entity :
- An abstract BaseUser which should be used to create your main user entity in the project
- An admin entity extending the BaseUser to create administrator
- Fixtures for the admin entity
Installation
-
Install the package
-
Update AppKernel.php
-
Update DB Schema
-
Create a User entity in your AppBundle extending the BaseUser
-
Add the routing
- Change security.yml (optionnal)
If you have more than an admin firewall, you should copy the security.yml of the bundle and paste it in your main security.yml to edit it.
- Customize login page
For every firewall you have to specify a template for the login page. The admin login template is always provided. Otherwise, it should be defined using the alpixel_user.firewall_templates parameters :
You can also simply change the color and the background image of the admin page by overriding these parameters
All versions of userbundle with dependencies
symfony/symfony Version >=2.8||~3.0
friendsofsymfony/user-bundle Version ~1.3||~2.0