https://github.com/lutsen/property-passwordhash
Controller for the Lagan Password Hash property.
https://github.com/lutsen/property-passwordhash
lagan php
Last synced: 2 months ago
JSON representation
Controller for the Lagan Password Hash property.
- Host: GitHub
- URL: https://github.com/lutsen/property-passwordhash
- Owner: lutsen
- License: mit
- Created: 2017-05-10T20:04:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T20:57:14.000Z (over 7 years ago)
- Last Synced: 2024-12-15T09:35:00.441Z (6 months ago)
- Topics: lagan, php
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[
](https://github.com/lutsen/lagan)
Lagan Password Hash Property Controller
========================================Controller for the Lagan Password Hash property.
Generate password hashes using the PHP password_hash function.
Uses the [Siriusphp validation library](https://github.com/siriusphp/validation) to validate password strings before hashing. You can use [the built in validation rules](http://www.sirius.ro/php/sirius/validation/validation_rules.html) by adding them to the 'validate' value in the property array. Add multiple validation rules by seperating them with a pipe character.
Example: `'validate' => 'minlength(3) | alphanumeric'`To be used with [Lagan](https://github.com/lutsen/lagan). Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.
Lagan is a project of [Lútsen Stellingwerff](http://lutsen.net/).