44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "tez/utils-crypto",
|
|
"type": "library",
|
|
"description": "Authenticated AES-GCM encryption for PHP — supports AES-128/192/256-GCM with random nonces, tag verification, and a strict enum-based cipher allowlist. PHP 8.3+, requires ext-openssl.",
|
|
"license": "MIT",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Tez\\Utils\\Crypto\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tez\\Utils\\Tests\\Crypto\\": "tests/"
|
|
}
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitea.root-zone.info/tez/tez-utils-enum.git"
|
|
},
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/tezmanian/tez-utils-enum.git"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.3",
|
|
"ext-openssl": "*",
|
|
"tez/utils-enum": "^1.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|