An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

[Lagan](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/).