Download the PHP package tuxxydos/knplabs-rad-user without Composer
On this page you can find all versions of the php package tuxxydos/knplabs-rad-user. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tuxxydos/knplabs-rad-user
More information about tuxxydos/knplabs-rad-user
Files in tuxxydos/knplabs-rad-user
Package knplabs-rad-user
Short Description Simply handle password encryption and NOT salt generation
License
Informations about the package knplabs-rad-user
Fork to keep using a specific feature in Symfony 5.x
Rapid Application Development : User
A Symfony bundle to simply handle password encryption by @KnpLabs
Installation
Usages
I want to auto-generate my user password
Your User model should implement the Knp\Rad\User\HasInitialPassword
interface.
Now, before your user is inserted or updated into your database, then the plain password will be automaticly generated.
I want to auto-encode my user password
Your User model should implement the Knp\Rad\User\HasPassword
interface.
Now, before your user is inserted or updated into your database, if you have set the attribute 'plainPassword', then the password will be automaticly generated.
WARNING
The Knp\Rad\User\HasPassword\HasPassword
trait use the Knp\Rad\User\HasInitialPassword\HasInitialPassword
trait. So don't use both into the same class or you will have a method conflict.
All versions of knplabs-rad-user with dependencies
doctrine/common Version ~2.4 | ~3.2
symfony/config Version ~4.0 | ~5.0
symfony/dependency-injection Version ~4.0 | ~5.0
symfony/http-kernel Version ~4.0 | ~5.0
symfony/security-core Version ~4.0 | ~5.0