1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
PHP module for GEOS
===================
[![build status]
(https://drone.osgeo.kbt.io/api/badges/geos/php-geos/status.svg?branch=master)]
(https://drone.osgeo.kbt.io/geos/php-geos?branch=master)
The code in this directory provides a PHP module to make use
of functionalities of the [GEOS library] (http://geos.osgeo.org).
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?)
|