composer.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "mjaschen/phpgeo",
  3. "description": "Simple Yet Powerful Geo Library",
  4. "keywords": [
  5. "distance",
  6. "area",
  7. "coordinate",
  8. "geo",
  9. "gis",
  10. "bounds",
  11. "ellipsoid",
  12. "calculation",
  13. "polyline",
  14. "polygon",
  15. "geofence",
  16. "simplify",
  17. "length",
  18. "vincenty",
  19. "haversine",
  20. "bearing",
  21. "projection",
  22. "gps",
  23. "earth",
  24. "track",
  25. "point",
  26. "perpendicular"
  27. ],
  28. "homepage": "https://phpgeo.marcusjaschen.de/",
  29. "type": "library",
  30. "license": "MIT",
  31. "authors": [
  32. {
  33. "name": "Marcus Jaschen",
  34. "email": "mjaschen@gmail.com",
  35. "homepage": "https://www.marcusjaschen.de/"
  36. }
  37. ],
  38. "readme": "README.md",
  39. "support" : {
  40. "issues" : "https://github.com/mjaschen/phpgeo/issues",
  41. "docs": "https://phpgeo.marcusjaschen.de/Installation.html",
  42. "email" : "mjaschen@gmail.com"
  43. },
  44. "require": {
  45. "php": "^7.3 || ^8.0"
  46. },
  47. "autoload": {
  48. "psr-4": {
  49. "Location\\": "src/"
  50. }
  51. },
  52. "require-dev": {
  53. "phpunit/phpunit": "^9.5",
  54. "vimeo/psalm": "^4.13",
  55. "squizlabs/php_codesniffer": "^3.6"
  56. },
  57. "scripts": {
  58. "ci:composer-validate": "composer validate --no-check-all --no-check-lock --strict",
  59. "ci:lint": "find src tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
  60. "ci:psalm": "./vendor/bin/psalm",
  61. "ci:sniff": "./vendor/bin/phpcs src tests",
  62. "ci:tests": "./vendor/bin/phpunit tests/",
  63. "ci:static": [
  64. "@ci:composer-validate",
  65. "@ci:lint",
  66. "@ci:psalm",
  67. "@ci:sniff"
  68. ],
  69. "ci:dynamic": [
  70. "@ci:tests"
  71. ],
  72. "ci": [
  73. "@ci:static",
  74. "@ci:dynamic"
  75. ]
  76. }
  77. }