Skip to content

Commit

Permalink
Structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Wazabii committed Nov 29, 2023
1 parent 0dbc0a3 commit 9e00ecb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
1 change: 0 additions & 1 deletion Luhn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion ValidVatFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
},
{
"name": "MaplePHP",
"homepage": "https://wazabii.se"
}
],
"require": {
"php": ">=8.0",
"maplephp/dto": "^1.0"
},
"autoload": {
"psr-4": {
"MaplePHP\\Validate\\": ""
}
},
"minimum-stability": "dev"
}

0 comments on commit 9e00ecb

Please sign in to comment.