sulu / validation-bundle
This bundle is for validation of schemas
Installs: 12 543
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 4
Open Issues: 4
Type:symfony-bundle
Requires
- php: >=5.4
- justinrainbow/json-schema: ~4.1
- symfony/event-dispatcher: ~2.8 || ~3.2
- symfony/framework-bundle: ~2.8 || ~3.2
Requires (Dev)
- phpunit/phpunit: ~4.8 || ~5.7
- symfony/browser-kit: ~2.8 || ~3.2
- symfony/console: ~2.8 || ~3.2
- symfony/css-selector: ~2.8 || ~3.2
- symfony/finder: ~2.8 || ~3.2
- symfony/yaml: ~2.8 || ~3.2
This package is not auto-updated.
Last update: 2020-10-02 21:53:20 UTC
README
This bundle validates requests for pre-configured routes.
How it works
On every request an event listener checks if a schema in sulu_validation.schemas
is defined for the current route id.
It then uses json schema validation for validate if the request data matches the configured schema.
Status
This repository will become version 1.0 of SuluValidationBundle. It is under heavy development and currently its APIs and code are not stable yet (pre 1.0).
Requirements
- Composer
- PHP
>=5.5
- Symfony
^2.8 || ^3.2
For detailed requirements see composer.json.
Documentation
The the Documentation is stored in the Resources/doc/ folder.
Installation
All the installation instructions are located in the Documentation.
License
This bundle is under the MIT license. See the complete license in the bundle
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project using the Sulu Minimal Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.