Package is available on Packagist, you can install it using Composer.
composer require respect/validation
Works on PHP 7.3 or above.