cubenl / silverstripe-validation
Validation module for SilverStripe 4
Installs: 9 467
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Type:silverstripe-vendormodule
Requires
- php: >=8.1
- silverstripe/framework: ^5
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2025-04-16 15:33:42 UTC
README
SilverStripe module for out of the box validating DataObjects and more!
Inspired by the Illuminate\Validation
Laravel way of defining validation rules.
Requirements
- SilverStripe Framework 4.0+
Quick Start
Installation
composer require cubenl/silverstripe-validation
Documentation
- Validating DataObjects
- Available Validation Rules
- Custom Validation Rules
- Custom Error Messages
- Translations
Versioning
This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.
All methods, with public
visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected
methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.
Reporting Issues
Please create an issue for any bugs you've found, or features you're missing.
Contributing
Please see contributing for some guidelines to contribute.