Skip to content

Commit 9e00ecb

Browse files
author
Wazabii
committed
Structure
1 parent 0dbc0a3 commit 9e00ecb

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

Luhn.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @Author: Daniel Ronkainen
66
* @Licence: Apache-2.0 license, Copyright © Daniel Ronkainen
77
Don't delete this comment, its part of the license.
8-
* @Version: 1.0.0
98
*/
109

1110
namespace MaplePHP\Validate;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MaplePHP - Validation
2-
Validate inputs. Open the file "Inp.php" for a lot more validations.
2+
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.
33

44
### Initiation
55
You will always initiate instace with the static method **_val** followed by a value you want to validate.

ValidVatFormat.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @Author: Daniel Ronkainen
66
* @Licence: Apache-2.0 license, Copyright © Daniel Ronkainen
77
Don't delete this comment, its part of the license.
8-
* @Version: 1.0.0
98
*/
109

1110
namespace MaplePHP\Validate;

composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "maplephp/validate",
3+
"type": "library",
4+
"description": "User-friendly input validation library.",
5+
"keywords": ["validation", "input", "data", "validate request"],
6+
"homepage": "https://wazabii.se",
7+
"license": "Apache-2.0",
8+
"authors": [
9+
{
10+
"name": "Daniel Ronkainen",
11+
"email": "[email protected]"
12+
},
13+
{
14+
"name": "MaplePHP",
15+
"homepage": "https://wazabii.se"
16+
}
17+
],
18+
"require": {
19+
"php": ">=8.0",
20+
"maplephp/dto": "^1.0"
21+
},
22+
"autoload": {
23+
"psr-4": {
24+
"MaplePHP\\Validate\\": ""
25+
}
26+
},
27+
"minimum-stability": "dev"
28+
}

0 commit comments

Comments
 (0)