summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-23 09:30:30 +0200
committerRemi Collet <remi@php.net>2026-04-23 09:30:30 +0200
commitec16377d52ea1e350a8ba122eae70c879c90e5ba (patch)
tree1d8952e2dde3e08f0e85a181fe9304b9984eac34 /composer.json
initial package
obsoletes php-pecl-geoip fix compatibility with PHP 7 using patch from https://github.com/rlerdorf/geoip/pull/7
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..8bde336
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,19 @@
+{
+ "name": "rlerdorf/geoip",
+ "type": "php-ext",
+ "description": "Legacy GeoIP (v1) PHP extension wrapping MaxMind's libGeoIP C library",
+ "license": "PHP-3.01",
+ "require": {
+ "php": ">=7.2"
+ },
+ "php-ext": {
+ "extension-name": "geoip",
+ "configure-options": [
+ {
+ "name": "with-geoip",
+ "description": "Path to libGeoIP installation prefix (or 'yes' for auto-detection)",
+ "needs-value": true
+ }
+ ]
+ }
+}