alex-kalanis / kw_rules
Entry rules for KWCMS
v3.0.0
2024-03-29 08:31 UTC
Requires
- php: >=7.4.0
- ext-fileinfo: *
- ext-gd: *
- ext-hash: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- ddeboer/vatin: ^2.2
- friendsofphp/php-cs-fixer: ^3.0
- giggsey/libphonenumber-for-php: ^8.12
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=7.2 <=9
- shipmonk/composer-dependency-analyser: ^1.4
Suggests
- ddeboer/vatin: PHP package for checking EU VAT from
- giggsey/libphonenumber-for-php: PHP package for checking phone numbers
README
Contains simplification of rules from the whole bunch of setting. Allow you create a variety of checks across your app. This one is mainly used for checks in forms.
PHP Installation
composer.phar require alex-kalanis/kw_rules
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Connect the "kw_rules" classes into your app. When it came necessary you can extends every library to comply your use-case; mainly set checks itself.