|
| 1 | +{ |
| 2 | + "name": "opencodeco/hyperf-opentelemetry", |
| 3 | + "description": "OpenTelemetry instrumentation for Hyperf framework", |
| 4 | + "type": "library", |
| 5 | + "license": "MIT", |
| 6 | + "version": "0.1.0", |
| 7 | + "keywords": [ |
| 8 | + "php", |
| 9 | + "hyperf", |
| 10 | + "opentelemetry", |
| 11 | + "tracing", |
| 12 | + "metrics", |
| 13 | + "logs" |
| 14 | + ], |
| 15 | + "authors": [ |
| 16 | + { |
| 17 | + "name": "Thiago Faino", |
| 18 | + |
| 19 | + }, |
| 20 | + { |
| 21 | + "name": "Lucas Angeli", |
| 22 | + |
| 23 | + } |
| 24 | + ], |
| 25 | + "minimum-stability": "dev", |
| 26 | + "require": { |
| 27 | + "php": ">=8.1", |
| 28 | + "hyperf/command": "~3.1.0", |
| 29 | + "hyperf/crontab": "~3.1.0", |
| 30 | + "hyperf/database": "~3.1.0", |
| 31 | + "hyperf/di": "~3.1.0", |
| 32 | + "hyperf/event": "~3.1.0", |
| 33 | + "hyperf/guzzle": "~3.1.0", |
| 34 | + "hyperf/http-server": "~3.1.0", |
| 35 | + "open-telemetry/api": "^1.1", |
| 36 | + "open-telemetry/context-swoole": "^1.0", |
| 37 | + "open-telemetry/exporter-otlp": "^1.1", |
| 38 | + "open-telemetry/sdk": "^1.1", |
| 39 | + "open-telemetry/sem-conv": "^1.27" |
| 40 | + }, |
| 41 | + "require-dev": { |
| 42 | + "friendsofphp/php-cs-fixer": "^3.40", |
| 43 | + "hyperf/testing": "^3.0", |
| 44 | + "mockery/mockery": "^1.6", |
| 45 | + "phpmd/phpmd": "^2.14", |
| 46 | + "rector/rector": "^1.0", |
| 47 | + "roave/security-advisories": "dev-latest", |
| 48 | + "squizlabs/php_codesniffer": "^3.7", |
| 49 | + "swoole/ide-helper": "^5.1" |
| 50 | + }, |
| 51 | + "autoload": { |
| 52 | + "psr-4": { |
| 53 | + "Hyperf\\OpenTelemetry\\" : "src/" |
| 54 | + } |
| 55 | + }, |
| 56 | + "autoload-dev": { |
| 57 | + "psr-4": { |
| 58 | + "Tests\\": "tests/" |
| 59 | + } |
| 60 | + }, |
| 61 | + "extra": { |
| 62 | + "hyperf": { |
| 63 | + "config": "Hyperf\\OpenTelemetry\\ConfigProvider" |
| 64 | + } |
| 65 | + }, |
| 66 | + "scripts": { |
| 67 | + "test": "phpunit", |
| 68 | + "lint:fix": [ |
| 69 | + "composer lint:cs:fix", |
| 70 | + "composer lint:update" |
| 71 | + ], |
| 72 | + "lint:cs:fix": ["php-cs-fixer fix $1", "phpcbf --standard=PSR12 src"], |
| 73 | + "lint:cs:check": ["php-cs-fixer fix -v --diff --dry-run $1", "phpcs --standard=PSR12,phpcs.xml -s src"], |
| 74 | + "lint:mess": "phpmd src ansi phpmd.xml", |
| 75 | + "lint:updated": "rector --dry-run", |
| 76 | + "lint:update": "rector", |
| 77 | + "lint": [ |
| 78 | + "composer lint:cs:check", |
| 79 | + "composer lint:mess", |
| 80 | + "composer lint:updated" |
| 81 | + ], |
| 82 | + "ci": [ |
| 83 | + "composer lint", |
| 84 | + "composer test" |
| 85 | + ] |
| 86 | + }, |
| 87 | + "config": { |
| 88 | + "sort-packages": true, |
| 89 | + "allow-plugins": { |
| 90 | + "infection/extension-installer": true, |
| 91 | + "php-http/discovery": true, |
| 92 | + "tbachert/spi": true |
| 93 | + } |
| 94 | + } |
| 95 | +} |
0 commit comments