|
1 | 1 | { |
2 | | - "name": "kreait/firebase-php", |
3 | | - "description": "Firebase Admin SDK", |
4 | | - "license": "MIT", |
5 | | - "type": "library", |
6 | | - "keywords": [ |
7 | | - "api", |
8 | | - "database", |
9 | | - "firebase", |
10 | | - "google", |
11 | | - "sdk" |
12 | | - ], |
13 | | - "authors": [ |
14 | | - { |
15 | | - "name": "Jérôme Gamez", |
16 | | - "homepage": "https://github.com/jeromegamez" |
17 | | - } |
18 | | - ], |
19 | | - "homepage": "https://github.com/beste/firebase-php", |
20 | | - "support": { |
21 | | - "issues": "https://github.com/beste/firebase-php/issues", |
22 | | - "source": "https://github.com/beste/firebase-php", |
23 | | - "docs": "https://firebase-php.readthedocs.io" |
24 | | - }, |
25 | | - "funding": [ |
26 | | - { |
27 | | - "type": "github", |
28 | | - "url": "https://github.com/sponsors/jeromegamez" |
29 | | - } |
30 | | - ], |
31 | | - "require": { |
32 | | - "php": "~8.3.0 || ~8.4.0 || ~8.5.0", |
33 | | - "ext-ctype": "*", |
34 | | - "ext-filter": "*", |
35 | | - "ext-json": "*", |
36 | | - "ext-mbstring": "*", |
37 | | - "beste/clock": "^3.0", |
38 | | - "beste/in-memory-cache": "^1.3.1", |
39 | | - "beste/json": "^1.5.1", |
40 | | - "cuyz/valinor": "^2.2.1", |
41 | | - "fig/http-message-util": "^1.1.5", |
42 | | - "firebase/php-jwt": "^6.10.2 || ^7.0.2", |
43 | | - "google/auth": "^1.45", |
44 | | - "google/cloud-storage": "^1.48.7", |
45 | | - "guzzlehttp/guzzle": "^7.9.2", |
46 | | - "guzzlehttp/promises": "^2.0.4", |
47 | | - "guzzlehttp/psr7": "^2.7", |
48 | | - "kreait/firebase-tokens": "^5.2", |
49 | | - "lcobucci/jwt": "^5.3", |
50 | | - "mtdowling/jmespath.php": "^2.8.0", |
51 | | - "psr/cache": "^2.0 || ^3.0", |
52 | | - "psr/clock": "^1.0", |
53 | | - "psr/http-client": "^1.0.3", |
54 | | - "psr/http-factory": "^1.1", |
55 | | - "psr/http-message": "^1.1 || ^2.0" |
56 | | - }, |
57 | | - "require-dev": { |
58 | | - "google/cloud-firestore": "^1.55.0", |
59 | | - "psr/log": "^3.0.2", |
60 | | - "symfony/var-dumper": "^7.4.4 || ^8.0.4", |
61 | | - "vlucas/phpdotenv": "^5.6.3" |
62 | | - }, |
63 | | - "suggest": { |
64 | | - "google/cloud-firestore": "^1.0 to use the Firestore component" |
65 | | - }, |
66 | | - "autoload": { |
67 | | - "psr-4": { |
68 | | - "Kreait\\Firebase\\": "src" |
69 | | - } |
70 | | - }, |
71 | | - "autoload-dev": { |
72 | | - "psr-4": { |
73 | | - "Kreait\\Firebase\\Tests\\": "tests" |
74 | | - } |
75 | | - }, |
76 | | - "config": { |
77 | | - "allow-plugins": { |
78 | | - "phpstan/extension-installer": true |
79 | | - }, |
80 | | - "sort-packages": true |
81 | | - }, |
82 | | - "extra": { |
83 | | - "branch-alias": { |
84 | | - "dev-7.x": "7.x-dev", |
85 | | - "dev-8.x": "8.x-dev" |
86 | | - } |
87 | | - }, |
88 | | - "scripts": { |
89 | | - "analyze": "XDEBUG_MODE=off tools/phpstan --ansi analyse", |
90 | | - "clean": [ |
91 | | - "@clean:build-artifacts", |
92 | | - "@clean:vendor" |
93 | | - ], |
94 | | - "clean:build-artifacts": "rm -rf build && mkdir -p build", |
95 | | - "clean:vendor": "rm -rf vendor", |
96 | | - "dependencies:check": [ |
97 | | - "@clean", |
98 | | - "@tools:install", |
99 | | - "@dependencies:install", |
100 | | - "composer outdated --locked --direct --strict --sort-by-age --ansi" |
101 | | - ], |
102 | | - "dependencies:install": "composer install --no-interaction --no-progress --ansi --ignore-platform-req=ext-grpc", |
103 | | - "dependencies:update": [ |
104 | | - "composer update --no-interaction --no-progress --ansi --ignore-platform-req=ext-grpc", |
105 | | - "composer bump --no-interaction --ansi" |
106 | | - ], |
107 | | - "docs": [ |
108 | | - "@docs:clean", |
109 | | - "@docs:setup", |
110 | | - "@docs:build" |
111 | | - ], |
112 | | - "docs:build": "cd docs && uv run sphinx-build -b html . _build/html", |
113 | | - "docs:clean": "cd docs && rm -rf _build/*", |
114 | | - "docs:linkcheck": "cd docs && uv run sphinx-build -b linkcheck . _build/linkcheck", |
115 | | - "docs:serve": "cd docs && uv run sphinx-autobuild . _build/html --host 0.0.0.0 --port 8000", |
116 | | - "docs:setup": "cd docs && uv sync", |
117 | | - "lint": [ |
118 | | - "tools/rector --ansi --dry-run", |
119 | | - "tools/php-cs-fixer check --ansi --diff --verbose", |
120 | | - "@lint:composer" |
121 | | - ], |
122 | | - "lint:composer": "tools/composer-normalize --ansi --dry-run", |
123 | | - "lint:composer:fix": "tools/composer-normalize --ansi", |
124 | | - "lint:fix": [ |
125 | | - "tools/rector --ansi", |
126 | | - "tools/php-cs-fixer fix --ansi --diff --verbose", |
127 | | - "@lint:composer:fix" |
128 | | - ], |
129 | | - "pre-push": [ |
130 | | - "@test:all", |
131 | | - "@test:bc" |
132 | | - ], |
133 | | - "rector": "tools/rector --ansi --dry-run", |
134 | | - "rector:fix": [ |
135 | | - "tools/rector --ansi", |
136 | | - "tools/php-cs-fixer fix --ansi --diff --verbose" |
| 2 | + "name": "kreait/firebase-php", |
| 3 | + "description": "Firebase Admin SDK", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
| 6 | + "keywords": [ |
| 7 | + "api", |
| 8 | + "database", |
| 9 | + "firebase", |
| 10 | + "google", |
| 11 | + "sdk" |
137 | 12 | ], |
138 | | - "reset-project": "tests/bin/reset-project", |
139 | | - "setup": [ |
140 | | - "@clean:build-artifacts", |
141 | | - "@tools:install", |
142 | | - "@dependencies:install", |
143 | | - "@tools:phpstan:install", |
144 | | - "@tools:phpstan:update", |
145 | | - "@tools:rector:install", |
146 | | - "@tools:rector:update", |
147 | | - "@tools:link" |
| 13 | + "authors": [ |
| 14 | + { |
| 15 | + "name": "Jérôme Gamez", |
| 16 | + "homepage": "https://github.com/jeromegamez" |
| 17 | + } |
148 | 18 | ], |
149 | | - "test": "@test:all", |
150 | | - "test:all": [ |
151 | | - "Composer\\Config::disableProcessTimeout", |
152 | | - "@analyze", |
153 | | - "@lint", |
154 | | - "@test:unit" |
155 | | - ], |
156 | | - "test:bc": "docker run --rm -v \"$PWD\":/app nyholm/roave-bc-check", |
157 | | - "test:coverage": [ |
158 | | - "Composer\\Config::disableProcessTimeout", |
159 | | - "mkdir -p build", |
160 | | - "XDEBUG_MODE=coverage tools/phpunit --colors=always --testdox --coverage-text --coverage-html=build/coverage --coverage-clover=build/coverage/clover.xml" |
161 | | - ], |
162 | | - "test:emulator": "FIREBASE_AUTH_EMULATOR_HOST=localhost:9099 FIREBASE_DATABASE_EMULATOR_HOST=localhost:9100 firebase emulators:exec --only auth,database --project beste-firebase 'tools/phpunit --group=emulator'", |
163 | | - "test:integration": "tools/phpunit --testsuite=integration", |
164 | | - "test:unit": "tools/phpunit --testsuite=unit --colors=always --testdox", |
165 | | - "tools:install": "tools/phive --no-progress install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A,C00543248C87FB13", |
166 | | - "tools:link": [ |
167 | | - "ln -snf phpunit tools/phpunit.phar", |
168 | | - "ln -snf .phpstan/vendor/bin/phpstan tools/phpstan", |
169 | | - "ln -snf .rector/vendor/bin/rector tools/rector" |
170 | | - ], |
171 | | - "tools:phpstan:install": "composer --working-dir=tools/.phpstan install --no-interaction --no-progress --ansi", |
172 | | - "tools:phpstan:update": [ |
173 | | - "composer --working-dir=tools/.phpstan update --no-interaction --no-progress --ansi", |
174 | | - "composer --working-dir=tools/.phpstan bump --no-interaction --ansi" |
175 | | - ], |
176 | | - "tools:rector:install": "composer --working-dir=tools/.rector install --no-interaction --no-progress --ansi", |
177 | | - "tools:rector:update": [ |
178 | | - "composer --working-dir=tools/.rector update --no-interaction --no-progress --ansi", |
179 | | - "composer --working-dir=tools/.rector bump --no-interaction --ansi" |
| 19 | + "homepage": "https://github.com/beste/firebase-php", |
| 20 | + "support": { |
| 21 | + "issues": "https://github.com/beste/firebase-php/issues", |
| 22 | + "source": "https://github.com/beste/firebase-php", |
| 23 | + "docs": "https://firebase-php.readthedocs.io" |
| 24 | + }, |
| 25 | + "funding": [ |
| 26 | + { |
| 27 | + "type": "github", |
| 28 | + "url": "https://github.com/sponsors/jeromegamez" |
| 29 | + } |
180 | 30 | ], |
181 | | - "tools:update": [ |
182 | | - "tools/phive --no-progress selfupdate", |
183 | | - "tools/phive --no-progress update", |
184 | | - "@tools:phpstan:update", |
185 | | - "@tools:rector:update", |
186 | | - "@tools:link" |
187 | | - ] |
188 | | - } |
| 31 | + "require": { |
| 32 | + "php": "~8.3.0 || ~8.4.0 || ~8.5.0", |
| 33 | + "ext-ctype": "*", |
| 34 | + "ext-filter": "*", |
| 35 | + "ext-json": "*", |
| 36 | + "ext-mbstring": "*", |
| 37 | + "beste/clock": "^3.0", |
| 38 | + "beste/in-memory-cache": "^1.3.1", |
| 39 | + "beste/json": "^1.5.1", |
| 40 | + "cuyz/valinor": "^2.2.1", |
| 41 | + "fig/http-message-util": "^1.1.5", |
| 42 | + "firebase/php-jwt": "^6.10.2 || ^7.0.2", |
| 43 | + "google/auth": "^1.45", |
| 44 | + "google/cloud-storage": "^1.48.7", |
| 45 | + "guzzlehttp/guzzle": "^7.9.2", |
| 46 | + "guzzlehttp/promises": "^2.0.4", |
| 47 | + "guzzlehttp/psr7": "^2.7", |
| 48 | + "kreait/firebase-tokens": "^5.2", |
| 49 | + "lcobucci/jwt": "^5.3", |
| 50 | + "mtdowling/jmespath.php": "^2.8.0", |
| 51 | + "psr/cache": "^2.0 || ^3.0", |
| 52 | + "psr/clock": "^1.0", |
| 53 | + "psr/http-client": "^1.0.3", |
| 54 | + "psr/http-factory": "^1.1", |
| 55 | + "psr/http-message": "^1.1 || ^2.0" |
| 56 | + }, |
| 57 | + "require-dev": { |
| 58 | + "google/cloud-firestore": "^1.55.0", |
| 59 | + "psr/log": "^3.0.2", |
| 60 | + "symfony/var-dumper": "^7.4.4 || ^8.0.4", |
| 61 | + "vlucas/phpdotenv": "^5.6.3" |
| 62 | + }, |
| 63 | + "suggest": { |
| 64 | + "google/cloud-firestore": "^1.0 to use the Firestore component" |
| 65 | + }, |
| 66 | + "autoload": { |
| 67 | + "psr-4": { |
| 68 | + "Kreait\\Firebase\\": "src" |
| 69 | + } |
| 70 | + }, |
| 71 | + "autoload-dev": { |
| 72 | + "psr-4": { |
| 73 | + "Kreait\\Firebase\\Tests\\": "tests" |
| 74 | + } |
| 75 | + }, |
| 76 | + "config": { |
| 77 | + "allow-plugins": { |
| 78 | + "phpstan/extension-installer": true |
| 79 | + }, |
| 80 | + "sort-packages": true |
| 81 | + }, |
| 82 | + "extra": { |
| 83 | + "branch-alias": { |
| 84 | + "dev-7.x": "7.x-dev", |
| 85 | + "dev-8.x": "8.x-dev" |
| 86 | + } |
| 87 | + }, |
| 88 | + "scripts": { |
| 89 | + "analyze": "XDEBUG_MODE=off tools/phpstan --ansi analyse", |
| 90 | + "clean": [ |
| 91 | + "@clean:build-artifacts", |
| 92 | + "@clean:vendor" |
| 93 | + ], |
| 94 | + "clean:build-artifacts": "rm -rf build && mkdir -p build", |
| 95 | + "clean:vendor": "rm -rf vendor", |
| 96 | + "dependencies:check": [ |
| 97 | + "@clean", |
| 98 | + "@tools:install", |
| 99 | + "@dependencies:install", |
| 100 | + "composer outdated --locked --direct --strict --sort-by-age --ansi" |
| 101 | + ], |
| 102 | + "dependencies:install": "composer install --no-interaction --no-progress --ansi --ignore-platform-req=ext-grpc", |
| 103 | + "dependencies:update": [ |
| 104 | + "composer update --no-interaction --no-progress --ansi --ignore-platform-req=ext-grpc", |
| 105 | + "composer bump --no-interaction --ansi" |
| 106 | + ], |
| 107 | + "docs": [ |
| 108 | + "@docs:clean", |
| 109 | + "@docs:setup", |
| 110 | + "@docs:build" |
| 111 | + ], |
| 112 | + "docs:build": "cd docs && uv run sphinx-build -b html . _build/html", |
| 113 | + "docs:clean": "cd docs && rm -rf _build/*", |
| 114 | + "docs:linkcheck": "cd docs && uv run sphinx-build -b linkcheck . _build/linkcheck", |
| 115 | + "docs:serve": "cd docs && uv run sphinx-autobuild . _build/html --host 0.0.0.0 --port 8000", |
| 116 | + "docs:setup": "cd docs && uv sync", |
| 117 | + "lint": [ |
| 118 | + "tools/rector --ansi --dry-run", |
| 119 | + "tools/php-cs-fixer check --ansi --diff --verbose", |
| 120 | + "@lint:composer" |
| 121 | + ], |
| 122 | + "lint:composer": "tools/composer-normalize --ansi --dry-run", |
| 123 | + "lint:composer:fix": "tools/composer-normalize --ansi", |
| 124 | + "lint:fix": [ |
| 125 | + "tools/rector --ansi", |
| 126 | + "tools/php-cs-fixer fix --ansi --diff --verbose", |
| 127 | + "@lint:composer:fix" |
| 128 | + ], |
| 129 | + "pre-push": [ |
| 130 | + "@lint:fix", |
| 131 | + "@test:all", |
| 132 | + "@test:bc" |
| 133 | + ], |
| 134 | + "rector": "tools/rector --ansi --dry-run", |
| 135 | + "rector:fix": [ |
| 136 | + "tools/rector --ansi", |
| 137 | + "tools/php-cs-fixer fix --ansi --diff --verbose" |
| 138 | + ], |
| 139 | + "reset-project": "tests/bin/reset-project", |
| 140 | + "setup": [ |
| 141 | + "@clean:build-artifacts", |
| 142 | + "@tools:install", |
| 143 | + "@dependencies:install", |
| 144 | + "@tools:phpstan:install", |
| 145 | + "@tools:phpstan:update", |
| 146 | + "@tools:rector:install", |
| 147 | + "@tools:rector:update", |
| 148 | + "@tools:link" |
| 149 | + ], |
| 150 | + "test": "@test:all", |
| 151 | + "test:all": [ |
| 152 | + "Composer\\Config::disableProcessTimeout", |
| 153 | + "@analyze", |
| 154 | + "@lint", |
| 155 | + "@test:unit" |
| 156 | + ], |
| 157 | + "test:bc": "docker run --rm -v \"$PWD\":/app nyholm/roave-bc-check", |
| 158 | + "test:coverage": [ |
| 159 | + "Composer\\Config::disableProcessTimeout", |
| 160 | + "mkdir -p build", |
| 161 | + "XDEBUG_MODE=coverage tools/phpunit --colors=always --testdox --coverage-text --coverage-html=build/coverage --coverage-clover=build/coverage/clover.xml" |
| 162 | + ], |
| 163 | + "test:emulator": "FIREBASE_AUTH_EMULATOR_HOST=localhost:9099 FIREBASE_DATABASE_EMULATOR_HOST=localhost:9100 firebase emulators:exec --only auth,database --project beste-firebase 'tools/phpunit --group=emulator'", |
| 164 | + "test:integration": "tools/phpunit --testsuite=integration", |
| 165 | + "test:unit": "tools/phpunit --testsuite=unit --colors=always --testdox", |
| 166 | + "tools:install": "tools/phive --no-progress install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A,C00543248C87FB13", |
| 167 | + "tools:link": [ |
| 168 | + "ln -snf phpunit tools/phpunit.phar", |
| 169 | + "ln -snf .phpstan/vendor/bin/phpstan tools/phpstan", |
| 170 | + "ln -snf .rector/vendor/bin/rector tools/rector" |
| 171 | + ], |
| 172 | + "tools:phpstan:install": "composer --working-dir=tools/.phpstan install --no-interaction --no-progress --ansi", |
| 173 | + "tools:phpstan:update": [ |
| 174 | + "composer --working-dir=tools/.phpstan update --no-interaction --no-progress --ansi", |
| 175 | + "composer --working-dir=tools/.phpstan bump --no-interaction --ansi" |
| 176 | + ], |
| 177 | + "tools:rector:install": "composer --working-dir=tools/.rector install --no-interaction --no-progress --ansi", |
| 178 | + "tools:rector:update": [ |
| 179 | + "composer --working-dir=tools/.rector update --no-interaction --no-progress --ansi", |
| 180 | + "composer --working-dir=tools/.rector bump --no-interaction --ansi" |
| 181 | + ], |
| 182 | + "tools:update": [ |
| 183 | + "tools/phive --no-progress selfupdate", |
| 184 | + "tools/phive --no-progress update", |
| 185 | + "@tools:phpstan:update", |
| 186 | + "@tools:rector:update", |
| 187 | + "@tools:link" |
| 188 | + ] |
| 189 | + } |
189 | 190 | } |
0 commit comments