1{ 2 "name": "funiq/geophp", 3 "license": [ 4 "GPL-2.0-or-later", 5 "BSD-3-Clause" 6 ], 7 "type": "library", 8 "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.", 9 "keywords": ["geophp", "gis", "geometry", "converter", "linestring", "polygon", "wkt", "wkb", "kml", "gpx", "geojson", "twkb"], 10 "homepage": "https://github.com/funiq/geoPHP", 11 "authors": [ 12 { 13 "name": "Patrick Hayes", 14 "role": "Original creator" 15 }, 16 { 17 "name": "Péter Báthory", 18 "role": "Developer" 19 } 20 ], 21 "autoload": { 22 "psr-4": { 23 "geoPHP\\": "src/" 24 } 25 }, 26 "autoload-dev": { 27 "psr-4": { 28 "geoPHP\\Tests\\": "tests/unit" 29 } 30 }, 31 "require": { 32 "php": "5.5 - 8.2" 33 }, 34 "require-dev": { 35 "php": "5.5 - 8.3", 36 "phpunit/phpunit": "5.* || 8.*", 37 "php-coveralls/php-coveralls": "2.*", 38 "squizlabs/php_codesniffer": "3.*", 39 "phpstan/phpstan": "^0.12.18" 40 }, 41 "suggest": { 42 "ext-geos": "GEOS allows more advanced operations" 43 }, 44 "scripts": { 45 "tests": [ 46 "@cs", 47 "@cs-warning", 48 "@stan", 49 "@unit", 50 "@test-input", 51 "@performance" 52 ], 53 "tests-ci": [ 54 "@cs", 55 "@stan", 56 "@unit-clover", 57 "@test-input", 58 "@performance" 59 ], 60 "cs": "vendor/bin/phpcs --cache -n -p src/", 61 "cs-warning": "vendor/bin/phpcs --cache -p -w src/ || true", 62 "cs-fix": "vendor/bin/phpcbf --cache -n -p src/", 63 "stan" : "vendor/bin/phpstan analyze", 64 "unit": "GEOS_DISABLED=1 vendor/bin/phpunit --color=always --coverage-html build/coverage/", 65 "unit-clover": "GEOS_DISABLED=1 vendor/bin/phpunit --color=always --coverage-clover build/logs/clover.xml", 66 "test-input": "cd tests && php test.php && cd ..", 67 "performance": "cd tests && php geometryPerformance.php && cd .." 68 } 69} 70