bengor-user / user-bundle
Symfony bundle on top of BenGor's user library
Installs: 6 124
Dependents: 9
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^5.5 || ^7.0
- bengor-user/user: ^0.8
- symfony/form: ^2.8 || ^3.0
- symfony/framework-bundle: ^2.8 || ^3.0
- symfony/security-bundle: ^2.8 || ^3.0
- symfony/templating: ^2.8 || ^3.0
- symfony/translation: ^2.8 || ^3.0
- symfony/twig-bundle: ^2.8 || ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- lexik/jwt-authentication-bundle: ^2.1
- phpspec/phpspec: ^2.5
README
Fully featured and test covered user Symfony bundle built on top of BenGorUser library
Following the basic configuration guide, in 2 minutes you will have the following fully tested multiple user type and multiple renderers (HTML / JSON) features in your Symfony application:
- User registration
- Basic
- With confirmation
- By invitation
- Change password
- Basic
- Without old password
- Using Remember password
- Log in / log out
- JWT authentication
- User removal
- Role management
- Grant
- Revoke
- Purge outdated tokens
- Invitation token
- Remember password token
Requirements
PHP >= 5.5
Symfony >= 2.8
Documentation
All the documentation is stored in the docs
folder.
Tests
This bundle is completely tested by PHPSpec, SpecBDD framework for PHP.
In case you want to contribute or just run the tests, use the following command.
$ vendor/bin/phpspec run -fpretty
Contributing
If you have any doubt or maybe you want to share some opinion, you can use our Gitter chat.
BenGorUser uses Crowdin as tool to manage translations so, please help us translating your favorite language via this service. Pull requests about translations will not be accepted.
This bundle follows PHP coding standards, so pull requests need to execute the Fabien Potencier's PHP-CS-Fixer. Furthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order to simplify we provide a Composer script that wraps all the commands related with this process.
$ composer run-script cs
There is also a policy for contributing to this project. Pull requests must be explained step by step to make the review process easy in order to accept and merge them. New methods or code improvements must come paired with PHPSpec tests.
If you would like to contribute it is a good point to follow Symfony contribution standards, so please read the Contributing Code in the project documentation. If you are submitting a pull request, please follow the guidelines in the Submitting a Patch section and use the Pull Request Template.
Credits
This bundle is created by:
@benatespina - benatespina@gmail.com
@gorkalaucirica - gorka.lauzirika@gmail.com