functional-php/composer.json
2026-10-27 22:38:37 +01:00

47 lines
1.2 KiB
JSON

{
"name": "kadet/functional",
"description": "Functional library for PHP",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Kacper Donat",
"email": "kadet1090@gmail.com"
}
],
"require": {
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^11.5",
"php-ds/php-ds": "^2.0",
"phpstan/phpstan": "^2.1"
},
"autoload": {
"psr-4": {
"Kadet\\Functional\\": "./src/"
},
"files": [
"./src/functions.php",
"./src/Predicates/index.php",
"./src/Collections/Internal/functions.php",
"./src/Collections/Internal/containers.php",
"./src/Collections/Internal/queries.php",
"./src/Collections/Lazy/transforms.php",
"./src/Collections/transforms.php",
"./src/Collections/collectors.php",
"./src/Collections/queries.php"
]
},
"suggest": {
"php-ds/php-ds": "^2.0 (or ext-ds) for Seq/Map/Set results"
},
"scripts": {
"test": [
"phpunit",
"phpunit -c phpunit.no-ds.xml"
],
"phpstan": "phpstan analyse"
}
}