PHP bindings for GEOS http://geos.osgeo.org/
 
 
 
 
Go to file
Sandro Santilli 0def35611f
continuous-integration/drone/push Build is passing Details
Set trim to false in WKBReader test
References #31
2023-07-26 16:40:12 +02:00
docker/build-test Add GEOS 3.7.5, 3.8.3, 3.9.3 and 3.10.3 in docker image 2022-09-10 17:02:46 +02:00
test Move tests into `.phpt` tests 2016-03-06 19:35:29 -05:00
tests Set trim to false in WKBReader test 2023-07-26 16:40:12 +02:00
.drone.yml Update trisquel image, use osgeo.org docker repo 2020-05-05 20:02:39 +02:00
.gitignore Ignore .dep files 2023-07-26 10:29:54 +02:00
COPYING Update my email address 2016-07-18 09:31:20 +02:00
CREDITS Update my email address 2016-07-18 09:31:20 +02:00
LGPL-2 Add license files 2016-01-24 20:05:09 -05:00
MIT-LICENSE Add license files 2016-01-24 20:05:09 -05:00
Makefile.frag Have `make check` show diff on failure 2023-07-26 13:10:36 +02:00
NEWS Set release date of 1.0.0 2016-12-24 11:53:24 +01:00
README.md Revert "Revert "Update Drone badge to point at dronie.osgeo.org"" 2019-06-06 18:19:10 +02:00
TODO Re-entrant C API is in use and WKBWriter write/read methods are in 2016-08-28 11:04:52 +02:00
arginfo.h fix __toString with 8.2 2022-09-09 22:42:02 +02:00
autogen.sh Add autogen.sh 2016-01-28 09:47:15 +01:00
config.m4 Add support for building against non-custom installed geos 2016-12-14 17:36:46 +01:00
geos.c Drop execute flag from .c file 2023-07-26 10:27:58 +02:00
package.xml Update my email address 2016-07-18 09:31:20 +02:00
php_geos.h add all arginfo and fix build with PHP 8 2022-09-09 22:41:30 +02:00
phpunit.xml Move tests into `.phpt` tests 2016-03-06 19:35:29 -05:00

README.md

PHP module for GEOS

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