Inital commit after seperating from project

This commit is contained in:
2026-07-26 16:16:44 +02:00
commit 1c718b5317
21 changed files with 1920 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"name": "tez/utils-validate",
"type": "library",
"description": "Lightweight PHP validation toolkit: guard assertions, boolean rules, schema validation, strict type casting, composite predicates, and array-item validation — PHP 8.3+, no dependencies.",
"license": "MIT",
"version": "1.0.0",
"autoload": {
"psr-4": {
"Tez\\Utils\\Validate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tez\\Utils\\Tests\\Validate\\": "tests/"
}
},
"require": {
"php": ">=8.3"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/phpstan": "^2.0",
"friendsofphp/php-cs-fixer": "^3.0"
},
"scripts": {
"cs-fix": "php-cs-fixer fix",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"phpstan": "phpstan analyse",
"test": "phpunit --testsuite Unit --colors=always"
}
}