Plugin
In order to make the validator more usable and versatile, a number of plugins are provided to aid development.
Sample
The following plug-ins are currently supported:
- Generate IDE comments to make it easier to view the corresponding validators and scene. itwmw/engine-validate-ide-helper
- Use the PHP8 attributes to specify the corresponding validators and scene.itwmw/engine-validate-attributes
- Add a validation middleware to the route to automatically validate the corresponding rules. itwmw/engine-validate-middleware