forked from phayes/geoPHP
-
Notifications
You must be signed in to change notification settings - Fork 21
/
composer.json
72 lines (72 loc) · 1.92 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "funiq/geophp",
"license": [
"GPL-2.0-or-later",
"BSD-3-Clause"
],
"type": "library",
"description": "Open-source native PHP library for doing geometry operations. Can read and write a wide variety of formats: (E)WKT, (E)WKB, TWKB, GeoJSON, KML, GPX, GeoRSS. Works with all Simple-Feature geometries (Point, LineString, Polygon...) and can be used to get centroids, bounding-boxes, area, etc.",
"keywords": ["geophp", "gis", "geometry", "converter", "linestring", "polygon", "wkt", "wkb", "kml", "gpx", "geojson", "twkb"],
"homepage": "https://github.com/funiq/geoPHP",
"authors": [
{
"name": "Patrick Hayes",
"role": "Original creator"
},
{
"name": "Péter Báthory",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"geoPHP\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"geoPHP\\Tests\\": "tests/"
}
},
"require": {
"php": "^7.1|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"php-coveralls/php-coveralls": "2.*",
"squizlabs/php_codesniffer": "3.*",
"phpstan/phpstan": "^1.4.0",
"phpbench/phpbench": "^1.0"
},
"suggest": {
"ext-geos": "GEOS allows more advanced operations"
},
"scripts": {
"tests": [
"@performance",
"@bench",
"@unit",
"@test-input"
],
"analyze": [
"@cs-warning",
"@stan"
],
"all": [
"@analyze",
"echo \"Let's cool down a bit before testing benchmark ...\" && sleep 1",
"@tests"
],
"cs": "phpcs",
"cs-warning": "phpcs -w",
"cs-fix": "phpcbf",
"stan": "phpstan analyze --no-progress",
"unit": [
"@putenv XDEBUG_MODE=coverage",
"phpunit"
],
"test-input": "cd tests && php test.php && cd ..",
"performance": "cd tests && php geometryPerformance.php && cd ..",
"bench": "vendor/bin/phpbench run --report=aggregate --sleep 10000"
}
}