Files
wp-prometheus/composer.json
magdev 898d711b2f
Some checks failed
Create Release Package / build-release (push) Failing after 3m3s
Fix composer repository config for CI compatibility
- Add VCS repository for wc-licensed-product-client
- Mark path repository as non-canonical
- Regenerate lock file with v0.2.2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 15:39:27 +01:00

70 lines
1.9 KiB
JSON

{
"name": "magdev/wp-prometheus",
"description": "WordPress Prometheus metrics endpoint with extensible hooks for custom metrics",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Marco Graetsch",
"email": "magdev3.0@gmail.com",
"homepage": "https://src.bundespruefstelle.ch/magdev"
}
],
"homepage": "https://src.bundespruefstelle.ch/magdev/wp-prometheus",
"support": {
"issues": "https://src.bundespruefstelle.ch/magdev/wp-prometheus/issues"
},
"repositories": [
{
"type": "path",
"url": "lib/wc-licensed-product-client",
"canonical": false,
"options": {
"symlink": false
}
},
{
"type": "vcs",
"url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git"
}
],
"require": {
"php": ">=8.3",
"magdev/wc-licensed-product-client": "^0.2.2",
"promphp/prometheus_client_php": "^2.10"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "*"
},
"autoload": {
"psr-4": {
"Magdev\\WpPrometheus\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Magdev\\WpPrometheus\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.3.0"
}
},
"scripts": {
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"test": "phpunit"
},
"minimum-stability": "stable",
"prefer-stable": true
}