PHP bindings for GEOS http://geos.osgeo.org/

Sandro Santilli 6db47f00c7 Set release date of 1.0.0 4 weeks ago
docker 74680bba19 Test 3 different GEOS versions 1 month ago
test b05bae15d5 Move tests into `.phpt` tests 10 months ago
tests 1f1861ed26 allow to run test suite with PHP < 5.6 1 month ago
.drone.yml 48622dd877 Always use new phpize to configure source 1 month ago
.gitignore 146b6df6a0 Add build-test docker and drone config 6 months ago
COPYING 61f50a1fa3 Update my email address 6 months ago
CREDITS 61f50a1fa3 Update my email address 6 months ago
LGPL-2 16615371e6 Add license files 1 year ago
MIT-LICENSE 16615371e6 Add license files 1 year ago
Makefile.frag 4aaf6c36e3 Properly report test status with exist code 6 months ago
NEWS 6db47f00c7 Set release date of 1.0.0 4 weeks ago
README.md 8fb0a331f9 Remove alt tag from widget image, to make it work with Gogs 4 months ago
TODO cfb6a583ca Re-entrant C API is in use and WKBWriter write/read methods are in 4 months ago
autogen.sh 8e27eb1f00 Add autogen.sh 1 year ago
config.m4 358074267d Add support for building against non-custom installed geos 1 month ago
geos.c ba3eb294aa Fix PHP7 binary string computation in WKBReader.read 1 month ago
package.xml 61f50a1fa3 Update my email address 6 months ago
php_geos.h 61f50a1fa3 Update my email address 6 months ago
phpunit.xml b05bae15d5 Move tests into `.phpt` tests 10 months ago

README.md

PHP module for GEOS

build status

The code in this directory provides a PHP module to make use of functionalities of the GEOS library.

The bindings are linked to the C-API, for betters stability.

Building

Requirements

You need:

  • PHP development files ( often found in packages named something like 'php5-dev' )

  • GEOS development files ( often found in packages named something like 'libgeos-dev' )

Procedure

git clone https://git.osgeo.org/gogs/geos/php-geos.git
cd php-geos
./autogen.sh
./configure
make # generates modules/geos.so

Testing

Automated testing is executed on 'make check'.

You'll need phpunit installed for this to work. To install:

pear install --force --alldeps phpunit/phpunit

Installing

As root (or owner with write access to the directory returned by php-config --extension-dir), run:

make install

Using

... TODO ... (reference some automatically built doc?)