https://github.com/lutsen/property-string
Controller for the Lagan string property.
https://github.com/lutsen/property-string
Last synced: 2 months ago
JSON representation
Controller for the Lagan string property.
- Host: GitHub
- URL: https://github.com/lutsen/property-string
- Owner: lutsen
- License: mit
- Created: 2016-05-07T16:27:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T20:56:13.000Z (over 7 years ago)
- Last Synced: 2025-02-13T11:49:25.820Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 6.84 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 String Property Controller
================================Controller for the Lagan String property.
Uses the [Siriusphp validation library](https://github.com/siriusphp/validation) to validate strings. 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/).