|
9 | 9 | "minimum-stability": "dev", |
10 | 10 | "prefer-stable": true, |
11 | 11 | "require": { |
12 | | - "php": "^8.0", |
| 12 | + "php": "^8.1", |
13 | 13 | "ext-json": "*", |
14 | 14 | "ext-opentelemetry": "*", |
15 | | - "laravel/framework": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", |
16 | | - "open-telemetry/api": "^1.0", |
17 | | - "open-telemetry/sem-conv": "^1.24" |
| 15 | + "laravel/framework": "^10.0 || ^11.0", |
| 16 | + "open-telemetry/opentelemetry": "dev-auto-instrumentation-registration" |
18 | 17 | }, |
19 | 18 | "require-dev": { |
20 | 19 | "friendsofphp/php-cs-fixer": "^3.50", |
21 | 20 | "guzzlehttp/guzzle": "*", |
22 | 21 | "nunomaduro/collision": "*", |
23 | | - "open-telemetry/sdk": "^1.0", |
24 | 22 | "orchestra/testbench": ">=7.41.3", |
25 | 23 | "phan/phan": "^5.0", |
26 | 24 | "php-http/mock-client": "*", |
|
34 | 32 | "autoload": { |
35 | 33 | "psr-4": { |
36 | 34 | "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\": "src/" |
37 | | - }, |
38 | | - "files": [ |
39 | | - "_register.php" |
40 | | - ] |
| 35 | + } |
41 | 36 | }, |
42 | 37 | "autoload-dev": { |
43 | 38 | "psr-4": { |
44 | 39 | "OpenTelemetry\\Tests\\Contrib\\Instrumentation\\Laravel\\": "tests/" |
45 | 40 | } |
46 | 41 | }, |
| 42 | + "extra": { |
| 43 | + "spi": { |
| 44 | + "OpenTelemetry\\Config\\SDK\\Configuration\\ComponentProvider": [ |
| 45 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\LaravelComponentProvider" |
| 46 | + ], |
| 47 | + "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\Instrumentation": [ |
| 48 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\LaravelInstrumentation" |
| 49 | + ], |
| 50 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Hook": [ |
| 51 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Console\\Command", |
| 52 | + |
| 53 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Contracts\\Console\\Kernel", |
| 54 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Contracts\\Http\\Kernel", |
| 55 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Contracts\\Queue\\Queue", |
| 56 | + |
| 57 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Foundation\\Console\\ServeCommand", |
| 58 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Foundation\\Application", |
| 59 | + |
| 60 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Queue\\Queue", |
| 61 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Queue\\SyncQueue", |
| 62 | + "OpenTelemetry\\Contrib\\Instrumentation\\Laravel\\Hooks\\Illuminate\\Queue\\Worker" |
| 63 | + ] |
| 64 | + } |
| 65 | + }, |
| 66 | + "repositories": [ |
| 67 | + { |
| 68 | + "type": "vcs", |
| 69 | + "url": "https://github.com/brettmc/opentelemetry-php" |
| 70 | + } |
| 71 | + ], |
47 | 72 | "config": { |
48 | 73 | "lock": false, |
49 | 74 | "sort-packages": true, |
50 | 75 | "allow-plugins": { |
51 | | - "php-http/discovery": false |
| 76 | + "php-http/discovery": false, |
| 77 | + "tbachert/spi": true |
52 | 78 | } |
53 | 79 | } |
54 | 80 | } |
0 commit comments