The simpliest way to add Respect/Validation into FluxCP
- Create new direcotry in
FLUX_ROOT/lib/
with namerespectvalidation
- Followed its installation guide by using command line in
respectvalidation
directory
composer require respect/validation
- In any module file you want to add the input validation (example: modules/character/view.php) add the respect/validation autoload
require 'respectvalidation/vendor/autoload.php';