Skip to content
PHP bindings for libgeos [MIRROR]
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker/build-test Add self-documenting Makefile targets May 25, 2017
test Move tests into `.phpt` tests Mar 7, 2016
tests allow to run test suite with PHP < 5.6 Dec 15, 2016
.drone.yml
.gitignore Add build-test docker and drone config Jul 19, 2016
COPYING Update my email address Jul 18, 2016
CREDITS
LGPL-2 Add license files Jan 25, 2016
MIT-LICENSE Add license files Jan 25, 2016
Makefile.frag Properly report test status with exist code Jul 25, 2016
NEWS Set release date of 1.0.0 Dec 24, 2016
README.md
TODO Re-entrant C API is in use and WKBWriter write/read methods are in Aug 28, 2016
autogen.sh Add autogen.sh Jan 28, 2016
config.m4 Add support for building against non-custom installed geos Dec 14, 2016
geos.c
package.xml Update my email address Jul 18, 2016
php_geos.h Update my email address Jul 18, 2016
phpunit.xml Move tests into `.phpt` tests Mar 7, 2016

README.md

PHP module for GEOS

[![build status] (https://drone.osgeo.org/api/badges/geos/php-geos/status.svg?branch=master)] (https://drone.osgeo.org/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/gitea/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?)

You can’t perform that action at this time.