87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
|
|
{
|
||
|
|
"name": "getphred/phred",
|
||
|
|
"description": "Phred — API-first PHP framework with optional Views/Templates and batteries-included defaults.",
|
||
|
|
"type": "project",
|
||
|
|
"license": "MIT",
|
||
|
|
"minimum-stability": "stable",
|
||
|
|
"prefer-stable": true,
|
||
|
|
"require": {
|
||
|
|
"php": ">=8.1",
|
||
|
|
"psr/http-message": "^1.1",
|
||
|
|
"psr/http-factory": "^1.0",
|
||
|
|
"psr/http-server-middleware": "^1.0",
|
||
|
|
"psr/http-server-handler": "^1.0",
|
||
|
|
"psr/container": "^2.0",
|
||
|
|
"psr/log": "^3.0",
|
||
|
|
"psr/simple-cache": "^3.0",
|
||
|
|
"psr/cache": "^3.0",
|
||
|
|
"psr/clock": "^1.0",
|
||
|
|
"nyholm/psr7": "^1.8",
|
||
|
|
"nyholm/psr7-server": "^1.0",
|
||
|
|
"relay/relay": "^2.0",
|
||
|
|
"nikic/fast-route": "^1.3",
|
||
|
|
"php-di/php-di": "^7.0",
|
||
|
|
"monolog/monolog": "^3.6",
|
||
|
|
"vlucas/phpdotenv": "^5.6",
|
||
|
|
"symfony/serializer": "^7.1",
|
||
|
|
"crell/api-problem": "^3.0",
|
||
|
|
"middlewares/cors": "^1.1 || ^2.0",
|
||
|
|
"lcobucci/jwt": "^5.0",
|
||
|
|
"symfony/console": "^7.1",
|
||
|
|
"league/flysystem": "^3.26",
|
||
|
|
"guzzlehttp/guzzle": "^7.9",
|
||
|
|
"zircote/swagger-php": "^4.10",
|
||
|
|
"filp/whoops": "^2.15",
|
||
|
|
"getphred/flagpole": "^0.1 || dev-main"
|
||
|
|
},
|
||
|
|
"require-dev": {
|
||
|
|
"codeception/codeception": "^5.0",
|
||
|
|
"phpstan/phpstan": "^1.11",
|
||
|
|
"friendsofphp/php-cs-fixer": "^3.64",
|
||
|
|
"fakerphp/faker": "^1.23"
|
||
|
|
},
|
||
|
|
"suggest": {
|
||
|
|
"neomerx/json-api": "Enable JSON:API mode for standardized API documents",
|
||
|
|
"symfony/cache": "Use PSR-6/16 cache implementations",
|
||
|
|
"doctrine/migrations": "Database migrations support",
|
||
|
|
"robmorgan/phinx": "Alternative database migrations tool",
|
||
|
|
"open-telemetry/opentelemetry-php": "Tracing/metrics/logs instrumentation",
|
||
|
|
"symfony/http-client": "PSR-18 capable HTTP client alternative to Guzzle",
|
||
|
|
"getphred/eyrie": "Template engine support for Views/Templates"
|
||
|
|
},
|
||
|
|
"autoload": {
|
||
|
|
"psr-4": {
|
||
|
|
"Phred\\": "src/"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"autoload-dev": {
|
||
|
|
"psr-4": {
|
||
|
|
"Phred\\Tests\\": "tests/"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"phred": "@php bin/phred",
|
||
|
|
"cs:fix": "php-cs-fixer fix",
|
||
|
|
"stan": "phpstan analyse",
|
||
|
|
"test": "codecept run",
|
||
|
|
"post-create-project-cmd": [
|
||
|
|
"@php bin/phred install"
|
||
|
|
],
|
||
|
|
"post-install-cmd": [
|
||
|
|
"@php bin/phred install"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"config": {
|
||
|
|
"sort-packages": true,
|
||
|
|
"allow-plugins": {
|
||
|
|
"phpstan/extension-installer": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"extra": {
|
||
|
|
"phred": {
|
||
|
|
"apiFormatEnv": "API_FORMAT",
|
||
|
|
"apiFormatDefault": "rest"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|