|
1 | 1 | {
|
2 |
| - "name": "0xc/openfeature-flagd-provider", |
3 |
| - "description": "OpenFeature provider for flagd", |
4 |
| - "license": "Apache-2.0", |
5 |
| - "type": "library", |
6 |
| - "keywords": [ |
7 |
| - "featureflags", |
8 |
| - "featureflagging", |
9 |
| - "openfeature", |
10 |
| - "flagd", |
11 |
| - "provider" |
12 |
| - ], |
13 |
| - "authors": [ |
14 |
| - { |
15 |
| - "name": "Tom Carrio", |
16 |
| - |
17 |
| - } |
18 |
| - ], |
19 |
| - "require": { |
20 |
| - "php": "^7.4 || ^8", |
21 |
| - "open-feature/sdk": "^0.0.7", |
22 |
| - "php-http/httplug": "^2.3.0", |
23 |
| - "psr/http-client": "^1.0", |
24 |
| - "psr/http-factory": "^1.0", |
25 |
| - "psr/http-message": "^1.0", |
26 |
| - "psr/log": "^1.1" |
| 2 | + "name": "0xc/openfeature-flagd-provider", |
| 3 | + "description": "OpenFeature provider for flagd", |
| 4 | + "license": "Apache-2.0", |
| 5 | + "type": "library", |
| 6 | + "keywords": [ |
| 7 | + "featureflags", |
| 8 | + "featureflagging", |
| 9 | + "openfeature", |
| 10 | + "provider", |
| 11 | + "hook" |
| 12 | + ], |
| 13 | + "authors": [ |
| 14 | + { |
| 15 | + "name": "OpenFeature PHP Maintainers", |
| 16 | + "homepage": "https://github.com/orgs/open-feature/teams/php-maintainer" |
27 | 17 | },
|
28 |
| - "require-dev": { |
29 |
| - "captainhook/captainhook": "^5.10", |
30 |
| - "captainhook/plugin-composer": "^5.3", |
31 |
| - "ergebnis/composer-normalize": "^2.25", |
32 |
| - "google/protobuf": "^3.17", |
33 |
| - "grpc/grpc": "^1.42", |
34 |
| - "hamcrest/hamcrest-php": "^2.0", |
35 |
| - "mdwheele/zalgo": "^0.3.1", |
36 |
| - "mockery/mockery": "^1.5", |
37 |
| - "php-http/mock-client": "^1.0", |
38 |
| - "php-parallel-lint/php-console-highlighter": "^1.0", |
39 |
| - "php-parallel-lint/php-parallel-lint": "^1.3", |
40 |
| - "phpstan/extension-installer": "^1.1", |
41 |
| - "phpstan/phpstan": "~1.8.0", |
42 |
| - "phpstan/phpstan-mockery": "^1.0", |
43 |
| - "phpstan/phpstan-phpunit": "^1.1", |
44 |
| - "psalm/plugin-mockery": "^0.9.1", |
45 |
| - "psalm/plugin-phpunit": "^0.17.0", |
46 |
| - "psr/http-client": "^1.0", |
47 |
| - "psr/http-factory": "^1.0", |
48 |
| - "psr/http-message": "^1.0", |
49 |
| - "ramsey/coding-standard": "^2.0.3", |
50 |
| - "ramsey/composer-repl": "^1.4", |
51 |
| - "ramsey/conventional-commits": "^1.3", |
52 |
| - "roave/security-advisories": "dev-latest", |
53 |
| - "spatie/phpunit-snapshot-assertions": "^4.2", |
54 |
| - "vimeo/psalm": "~4.25.0" |
55 |
| - }, |
56 |
| - "minimum-stability": "dev", |
57 |
| - "prefer-stable": true, |
58 |
| - "autoload": { |
59 |
| - "psr-4": { |
60 |
| - "OpenFeature\\Providers\\Flagd\\": "src/", |
61 |
| - "": "proto/php/" |
62 |
| - } |
63 |
| - }, |
64 |
| - "autoload-dev": { |
65 |
| - "psr-4": { |
66 |
| - "OpenFeature\\Providers\\Flagd\\Test\\": "tests/" |
67 |
| - } |
68 |
| - }, |
69 |
| - "config": { |
70 |
| - "allow-plugins": { |
71 |
| - "phpstan/extension-installer": true, |
72 |
| - "dealerdirect/phpcodesniffer-composer-installer": true, |
73 |
| - "ergebnis/composer-normalize": true, |
74 |
| - "captainhook/plugin-composer": true, |
75 |
| - "ramsey/composer-repl": true |
76 |
| - }, |
77 |
| - "sort-packages": true |
78 |
| - }, |
79 |
| - "extra": { |
80 |
| - "captainhook": { |
81 |
| - "force-install": true |
82 |
| - }, |
83 |
| - "ramsey/conventional-commits": { |
84 |
| - "configFile": "conventional-commits.json" |
85 |
| - } |
| 18 | + { |
| 19 | + "name": "open-feature/php-sdk-contrib Contributors", |
| 20 | + "homepage": "https://github.com/open-feature/php-sdk-contrib/graphs/contributors" |
| 21 | + } |
| 22 | + ], |
| 23 | + "minimum-stability": "dev", |
| 24 | + "prefer-stable": true, |
| 25 | + "config": { |
| 26 | + "allow-plugins": { |
| 27 | + "phpstan/extension-installer": true, |
| 28 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
| 29 | + "ergebnis/composer-normalize": true, |
| 30 | + "captainhook/plugin-composer": true, |
| 31 | + "ramsey/composer-repl": true |
86 | 32 | },
|
87 |
| - "scripts": { |
88 |
| - "dev:analyze": [ |
89 |
| - "@dev:analyze:phpstan", |
90 |
| - "@dev:analyze:psalm" |
91 |
| - ], |
92 |
| - "dev:analyze:phpstan": "phpstan analyse --ansi --debug --memory-limit=512M", |
93 |
| - "dev:analyze:psalm": "psalm", |
94 |
| - "dev:build:clean": "git clean -fX build/", |
95 |
| - "dev:grpc": [ |
96 |
| - "@dev:grpc:init", |
97 |
| - "@dev:grpc:generate", |
98 |
| - "@dev:grpc:stage" |
99 |
| - ], |
100 |
| - "dev:grpc:generate": "export GOPATH=\"$(pwd)/schemas/vendor\" && pushd schemas && make gen-php && popd", |
101 |
| - "dev:grpc:init": "git submodule update --recursive", |
102 |
| - "dev:grpc:stage": "git add --force ./proto", |
103 |
| - "dev:lint": [ |
104 |
| - "@dev:lint:syntax", |
105 |
| - "@dev:lint:style" |
106 |
| - ], |
107 |
| - "dev:lint:fix": "phpcbf", |
108 |
| - "dev:lint:style": "phpcs --colors", |
109 |
| - "dev:lint:syntax": "parallel-lint --colors src/ tests/", |
110 |
| - "dev:test": [ |
111 |
| - "@dev:lint", |
112 |
| - "@dev:analyze", |
113 |
| - "@dev:test:unit" |
114 |
| - ], |
115 |
| - "dev:test:coverage:ci": "phpunit --colors=always --coverage-text --coverage-clover build/coverage/clover.xml --coverage-cobertura build/coverage/cobertura.xml --coverage-crap4j build/coverage/crap4j.xml --coverage-xml build/coverage/coverage-xml --log-junit build/junit.xml", |
116 |
| - "dev:test:coverage:html": "phpunit --colors=always --coverage-html build/coverage/coverage-html/", |
117 |
| - "dev:test:unit": "phpunit --colors=always --testdox", |
118 |
| - "dev:test:unit:debug": "phpunit --colors=always --testdox -d xdebug.profiler_enable=on", |
119 |
| - "test": "@dev:test" |
| 33 | + "sort-packages": true |
| 34 | + }, |
| 35 | + "extra": { |
| 36 | + "captainhook": { |
| 37 | + "force-install": true |
120 | 38 | },
|
121 |
| - "scripts-descriptions": { |
122 |
| - "dev:analyze": "Runs all static analysis checks.", |
123 |
| - "dev:analyze:phpstan": "Runs the PHPStan static analyzer.", |
124 |
| - "dev:analyze:psalm": "Runs the Psalm static analyzer.", |
125 |
| - "dev:build:clean": "Cleans the build/ directory.", |
126 |
| - "dev:lint": "Runs all linting checks.", |
127 |
| - "dev:lint:fix": "Auto-fixes coding standards issues, if possible.", |
128 |
| - "dev:lint:style": "Checks for coding standards issues.", |
129 |
| - "dev:lint:syntax": "Checks for syntax errors.", |
130 |
| - "dev:test": "Runs linting, static analysis, and unit tests.", |
131 |
| - "dev:test:coverage:ci": "Runs unit tests and generates CI coverage reports.", |
132 |
| - "dev:test:coverage:html": "Runs unit tests and generates HTML coverage report.", |
133 |
| - "dev:test:unit": "Runs unit tests.", |
134 |
| - "test": "Runs linting, static analysis, and unit tests." |
| 39 | + "ramsey/conventional-commits": { |
| 40 | + "configFile": "conventional-commits.json" |
135 | 41 | }
|
| 42 | + }, |
| 43 | + "require": { |
| 44 | + "captainhook/captainhook": "^5.11", |
| 45 | + "ramsey/conventional-commits": "^1.3" |
| 46 | + } |
136 | 47 | }
|
0 commit comments