FlagPole/composer.json

84 lines
1.7 KiB
JSON
Raw Permalink Normal View History

2025-12-09 22:48:07 +00:00
{
"name": "phred/flagpole",
"description": "Feature flag handling library for PHP. Simple, fast, and framework-agnostic.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Phred",
"email": "phred@phred.com",
"homepage": "https://phred.com",
"role": "Owner"
}
],
"keywords": [
"feature-flags",
"flags",
"toggle",
"rollout",
"ab-testing",
"php"
],
"homepage": "https://github.com/phred/flagpole",
"support": {
"issues": "https://github.com/phred/flagpole/issues",
"source": "https://github.com/phred/flagpole"
},
"require": {
"php": ">=8.1"
},
"autoload": {
"psr-4": {
"FlagPole\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^1.11",
"friendsofphp/php-cs-fixer": "^3.64"
},
"autoload-dev": {
"psr-4": {
"FlagPole\\Tests\\": "tests/"
}
},
"scripts": {
"composer-validate": [
"@composer validate --strict"
],
"analyse": [
"@php -d memory_limit=-1 vendor/bin/phpstan analyse"
],
"lint": [
"@php vendor/bin/php-cs-fixer fix --dry-run --diff"
],
"fix": [
"@php vendor/bin/php-cs-fixer fix"
],
"test": [
"@php vendor/bin/phpunit -c phpunit.xml.dist"
]
},
"config": {
"sort-packages": true,
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true
},
"archive": {
"exclude": [
".github/",
".idea/",
"tests/",
".phpunit.cache/",
"phpunit.xml.dist",
".php-cs-fixer.cache",
"phpstan.neon",
"phpstan.neon.dist"
]
},
"minimum-stability": "stable",
"prefer-stable": true
}