From 9c1e4c51f54d2db67117340e063b6eb6f6cb247e Mon Sep 17 00:00:00 2001 From: Max Tiessen Date: Tue, 19 Dec 2023 14:18:32 +0100 Subject: [PATCH] add PHP geo-projection package proj4 --- composer.json | 1 + composer.lock | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dd88790da..f48b89ce7 100644 --- a/composer.json +++ b/composer.json @@ -36,6 +36,7 @@ "msurguy/honeypot": "^1.0", "pgvector/pgvector": "^0.1.4", "php-ffmpeg/php-ffmpeg": "^1.0", + "proj4php/proj4php": "^2.0", "pusher/pusher-php-server": "^7.2", "ramsey/uuid": "^4.0", "ramsey/uuid-doctrine": "^1.8" diff --git a/composer.lock b/composer.lock index 69e980d9d..29bdca873 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fe5a60aeae3f5a7851322ed3af9b8dcb", + "content-hash": "2337527e0666eea68db80327510a9e62", "packages": [ { "name": "bacon/bacon-qr-code", @@ -3677,6 +3677,70 @@ ], "time": "2023-11-12T21:59:55+00:00" }, + { + "name": "proj4php/proj4php", + "version": "2.0.13", + "source": { + "type": "git", + "url": "https://github.com/proj4php/proj4php.git", + "reference": "17f2a5eea4f587f46ad7d0c62a4855d6b734ac69" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/proj4php/proj4php/zipball/17f2a5eea4f587f46ad7d0c62a4855d6b734ac69", + "reference": "17f2a5eea4f587f46ad7d0c62a4855d6b734ac69", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "9.*" + }, + "type": "library", + "autoload": { + "psr-4": { + "proj4php\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1" + ], + "authors": [ + { + "name": "julien2512", + "email": "moquet.julien@gmail.com", + "homepage": "https://github.com/julien2512", + "role": "Developer" + }, + { + "name": "Jason Judge", + "email": "jason.judge@academe.co.uk", + "homepage": "http://academe.co.uk", + "role": "Developer" + }, + { + "name": "Nick Blackwell", + "email": "nickblackwell82@gmail.com", + "homepage": "https://people.ok.ubc.ca/nblackwe", + "role": "Developer" + } + ], + "description": "A PHP-Class for geographic coordinates transformation using proj4 definitions, thanks to a translation from Proj4JS", + "homepage": "https://github.com/proj4php/proj4php", + "keywords": [ + "coordinates", + "geographic", + "proj4", + "proj4js" + ], + "support": { + "issues": "https://github.com/proj4php/proj4php/issues", + "source": "https://github.com/proj4php/proj4php/tree/2.0.13" + }, + "time": "2023-05-10T04:07:19+00:00" + }, { "name": "psr/cache", "version": "3.0.0",