|
1 | 1 | {
|
2 | 2 | "name": "geocoder-php/geocoder",
|
3 |
| - "type": "library", |
4 | 3 | "description": "A development package for all providers",
|
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
5 | 6 | "keywords": [
|
6 | 7 | "geocoder",
|
7 | 8 | "geocoding",
|
8 | 9 | "abstraction",
|
9 | 10 | "geoip"
|
10 | 11 | ],
|
11 |
| - "homepage": "http://geocoder-php.org", |
12 |
| - "license": "MIT", |
13 | 12 | "authors": [
|
14 | 13 | {
|
15 | 14 | "name": "William Durand",
|
16 | 15 |
|
17 | 16 | }
|
18 | 17 | ],
|
| 18 | + "homepage": "http://geocoder-php.org", |
19 | 19 | "require": {
|
20 | 20 | "php": "^7.4 || ^8.0",
|
21 | 21 | "igorw/get-in": "^1.0",
|
|
25 | 25 | "psr/http-client": "^1.0",
|
26 | 26 | "psr/http-client-implementation": "^1.0",
|
27 | 27 | "psr/http-message-implementation": "^1.0",
|
28 |
| - "psr/log": "^1.0|^2.0|^3.0", |
29 |
| - "psr/simple-cache": "^1.0|^2.0|^3.0" |
| 28 | + "psr/log": "^1.0 || ^2.0 || ^3.0", |
| 29 | + "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" |
30 | 30 | },
|
31 | 31 | "require-dev": {
|
32 | 32 | "cache/array-adapter": "^1.0",
|
33 | 33 | "cache/simple-cache-bridge": "^1.0",
|
34 | 34 | "cache/void-adapter": "^1.0",
|
35 |
| - "geocoder-php/provider-integration-tests": "^1.0", |
| 35 | + "geocoder-php/provider-integration-tests": "^1.6.2", |
36 | 36 | "geoip2/geoip2": "~2.0",
|
37 | 37 | "nyholm/nsa": "^1.1",
|
38 | 38 | "nyholm/psr7": "^1.0",
|
39 | 39 | "php-http/curl-client": "^2.2",
|
40 | 40 | "php-http/message": "^1.0",
|
41 | 41 | "php-http/mock-client": "^1.0",
|
| 42 | + "phpstan/extension-installer": "^1.3", |
| 43 | + "phpstan/phpstan": "^1.10", |
| 44 | + "phpstan/phpstan-phpunit": "^1.3", |
42 | 45 | "phpunit/phpunit": "^9.5",
|
43 | 46 | "symfony/stopwatch": "~2.5 || ~5.0"
|
44 | 47 | },
|
45 | 48 | "suggest": {
|
46 | 49 | "ext-geoip": "Enabling the geoip extension allows you to use the MaxMindProvider.",
|
| 50 | + "ext-json": "If you want to use HostIp", |
| 51 | + "ext-simplexml": "If you want to use HostIpXml", |
47 | 52 | "geoip/geoip": "If you are going to use the MaxMindBinaryProvider (conflict with geoip extension).",
|
48 | 53 | "geoip2/geoip2": "If you are going to use the GeoIP2DatabaseProvider.",
|
49 |
| - "symfony/stopwatch": "If you want to use the TimedGeocoder", |
50 |
| - "ext-simplexml": "If you want to use HostIpXml", |
51 |
| - "ext-json": "If you want to use HostIp" |
52 |
| - }, |
53 |
| - "extra": { |
54 |
| - "branch-alias": { |
55 |
| - "dev-master": "4.0-dev" |
56 |
| - } |
| 54 | + "symfony/stopwatch": "If you want to use the TimedGeocoder" |
57 | 55 | },
|
| 56 | + "minimum-stability": "dev", |
| 57 | + "prefer-stable": true, |
58 | 58 | "autoload": {
|
59 | 59 | "psr-4": {
|
60 | 60 | "Geocoder\\": [
|
|
68 | 68 | "Geocoder\\Tests\\": "tests/"
|
69 | 69 | }
|
70 | 70 | },
|
71 |
| - "minimum-stability": "dev", |
72 |
| - "prefer-stable": true, |
| 71 | + "config": { |
| 72 | + "allow-plugins": { |
| 73 | + "phpstan/extension-installer": true, |
| 74 | + "php-http/discovery": true |
| 75 | + }, |
| 76 | + "sort-packages": true |
| 77 | + }, |
| 78 | + "extra": { |
| 79 | + "branch-alias": { |
| 80 | + "dev-master": "4.0-dev" |
| 81 | + } |
| 82 | + }, |
73 | 83 | "scripts": {
|
| 84 | + "analyse": "vendor/bin/phpstan analyse", |
74 | 85 | "test": "vendor/bin/phpunit"
|
75 | 86 | }
|
76 | 87 | }
|
0 commit comments