1PHP module for GEOS 2=================== 3 4[![build status] 5(https://drone.osgeo.kbt.io/api/badges/geos/php-geos/status.svg?branch=master)] 6(https://drone.osgeo.kbt.io/geos/php-geos?branch=master) 7 8The code in this directory provides a PHP module to make use 9of functionalities of the [GEOS library] (http://geos.osgeo.org). 10 11The bindings are linked to the C-API, for betters stability. 12 13# Building 14 15## Requirements 16 17You need: 18 19 - PHP development files 20 ( often found in packages named something like 'php5-dev' ) 21 22 - GEOS development files 23 ( often found in packages named something like 'libgeos-dev' ) 24 25## Procedure 26 27 git clone https://git.osgeo.org/gogs/geos/php-geos.git 28 cd php-geos 29 ./autogen.sh 30 ./configure 31 make # generates modules/geos.so 32 33# Testing 34 35Automated testing is executed on 'make check'. 36 37You'll need phpunit installed for this to work. To install: 38 39 pear install --force --alldeps phpunit/phpunit 40 41# Installing 42 43As root (or owner with write access to the directory 44returned by php-config --extension-dir), run: 45 46 make install 47 48# Using 49 50 ... TODO ... 51 (reference some automatically built doc?) 52 53