Download the PHP package tangoman/user-bundle without Composer
On this page you can find all versions of the php package tangoman/user-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package user-bundle
TangoMan User Bundle
TangoMan User Bundle provides basis for user management.
Installation
Step 1: Download the Bundle
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: Configure UserBundle routes
Enable UserBundle controllers by adding following code in the app/config/routing.yml
file of your project.
Step 4: Configure Symfony firewall
Enable UserBundle to handle user login/logout by adding following code in the app/config/security.yml
file of your project.
Step 5: Configure UserBundle parameters
UserBundle need these settings to handle user registration, password reset emails.
Add following code in the app/config/parameters.yml
file of your project.
Step 6: Update Twig Configuration
Enable twig to handle global variables by adding following code in the app/config/config.yml
file of your project.
Step 7: Create User entity
Your User entity must extend TangoMan\UserBundle\Model\User
class.
Your User entity must implement getRoles()
method.
Step 8: Base template
Your base template must be named as the following : base.html.twig
Note
If you find any bug please report here : Issues
License
Copyright (c) 2018 Matthias Morin
Distributed under the MIT license.
If you like TangoMan User Bundle please star! And follow me on GitHub: TangoMan75 ... And check my other cool projects.