Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libgeos/php-geos
PHP bindings for libgeos [MIRROR]
https://github.com/libgeos/php-geos
Last synced: 3 months ago
JSON representation
PHP bindings for libgeos [MIRROR]
- Host: GitHub
- URL: https://github.com/libgeos/php-geos
- Owner: libgeos
- License: other
- Created: 2016-01-20T20:21:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T15:04:40.000Z (12 months ago)
- Last Synced: 2024-02-01T16:37:54.776Z (12 months ago)
- Language: PHP
- Homepage: https://git.osgeo.org/gitea/geos/php-geos
- Size: 150 KB
- Stars: 14
- Watchers: 11
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
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?)