FlagPole/composer.json

84 lines
1.7 KiB
JSON
Raw Permalink Normal View History

2025-12-09 22:48:07 +00:00
{
"name": "getphred/flagpole",
2025-12-09 22:48:07 +00:00
"description": "Feature flag handling library for PHP. Simple, fast, and framework-agnostic.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Phred",
"email": "phred@getphred.com",
"homepage": "https://getphred.com",
2025-12-09 22:48:07 +00:00
"role": "Owner"
}
],
"keywords": [
"feature-flags",
"flags",
"toggle",
"rollout",
"ab-testing",
"php"
],
"homepage": "https://github.com/getphred/flagpole",
2025-12-09 22:48:07 +00:00
"support": {
"issues": "https://github.com/getphred/flagpole/issues",
"source": "https://github.com/getphred/flagpole"
2025-12-09 22:48:07 +00:00
},
"require": {
2025-12-15 15:42:09 +00:00
"php": "^8.2"
2025-12-09 22:48:07 +00:00
},
"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
}