diff --git a/Luhn.php b/Luhn.php index c9f0511..32f605f 100755 --- a/Luhn.php +++ b/Luhn.php @@ -5,7 +5,6 @@ * @Author: Daniel Ronkainen * @Licence: Apache-2.0 license, Copyright © Daniel Ronkainen Don't delete this comment, its part of the license. - * @Version: 1.0.0 */ namespace MaplePHP\Validate; diff --git a/README.md b/README.md index 9e2d435..b90bcbc 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # MaplePHP - Validation -Validate inputs. Open the file "Inp.php" for a lot more validations. +MaplePHP - Validation is a PHP library designed to simplify the process of validating various data inputs. Whether you need to verify if a value is an email or phone number, check for minimum and maximum length constraints, or perform other common validation tasks, MaplePHP - Validation provides a convenient and straightforward solution for handling input validation. ### Initiation You will always initiate instace with the static method **_val** followed by a value you want to validate. diff --git a/ValidVatFormat.php b/ValidVatFormat.php index 6647135..e6ad534 100755 --- a/ValidVatFormat.php +++ b/ValidVatFormat.php @@ -5,7 +5,6 @@ * @Author: Daniel Ronkainen * @Licence: Apache-2.0 license, Copyright © Daniel Ronkainen Don't delete this comment, its part of the license. - * @Version: 1.0.0 */ namespace MaplePHP\Validate; diff --git a/composer.json b/composer.json new file mode 100755 index 0000000..178a805 --- /dev/null +++ b/composer.json @@ -0,0 +1,28 @@ +{ + "name": "maplephp/validate", + "type": "library", + "description": "User-friendly input validation library.", + "keywords": ["validation", "input", "data", "validate request"], + "homepage": "https://wazabii.se", + "license": "Apache-2.0", + "authors": [ + { + "name": "Daniel Ronkainen", + "email": "daniel.ronkainen@wazabii.se" + }, + { + "name": "MaplePHP", + "homepage": "https://wazabii.se" + } + ], + "require": { + "php": ">=8.0", + "maplephp/dto": "^1.0" + }, + "autoload": { + "psr-4": { + "MaplePHP\\Validate\\": "" + } + }, + "minimum-stability": "dev" +} \ No newline at end of file