geo
GIS geometry library for PHP
File Explorer
Download Latest Version (.zip)- Dockerfile
- Dockerfile
- .env.dist
- .gitignore
- compose.yaml
- README.md
- ci.yml
- FUNDING.yml
- NoProxy.php
- TypeChecker.php
- DatabaseEngine.php
- GeometryEngine.php
- GeometryParameter.php
- GeosEngine.php
- GeosOpEngine.php
- PdoEngine.php
- Sqlite3Engine.php
- CoordinateSystemException.php
- EmptyGeometryException.php
- GeometryEngineException.php
- GeometryException.php
- GeometryIoException.php
- InvalidGeometryException.php
- NoSuchGeometryException.php
- UnexpectedGeometryException.php
- Feature.php
- FeatureCollection.php
- AbstractWkbReader.php
- AbstractWkbWriter.php
- AbstractWktReader.php
- AbstractWktWriter.php
- Cloner.php
- EwkbTools.php
- WkbBuffer.php
- WkbByteOrder.php
- WkbGeometryHeader.php
- WkbTools.php
- WktParser.php
- WktTokenType.php
- EwkbReader.php
- EwkbWriter.php
- EwktReader.php
- EwktWriter.php
- GeoJsonReader.php
- GeoJsonWriter.php
- WkbReader.php
- WkbWriter.php
- WktReader.php
- WktWriter.php
- Projector.php
- RemoveZmProjector.php
- RoundCoordinatesProjector.php
- SridProjector.php
- SwapXyProjector.php
- CircularStringProxy.php
- CompoundCurveProxy.php
- CurvePolygonProxy.php
- CurveProxy.php
- GeometryCollectionProxy.php
- GeometryProxy.php
- LineStringProxy.php
- MultiCurveProxy.php
- MultiLineStringProxy.php
- MultiPointProxy.php
- MultiPolygonProxy.php
- MultiSurfaceProxy.php
- PointProxy.php
- PolygonProxy.php
- PolyhedralSurfaceProxy.php
- ProxyInterface.php
- SurfaceProxy.php
- TinProxy.php
- TriangleProxy.php
- BoundingBox.php
- CircularString.php
- CompoundCurve.php
- CoordinateSystem.php
- Curve.php
- CurvePolygon.php
- Geometry.php
- GeometryCollection.php
- LineString.php
- MultiCurve.php
- MultiLineString.php
- MultiPoint.php
- MultiPolygon.php
- MultiSurface.php
- Point.php
- Polygon.php
- PolyhedralSurface.php
- Surface.php
- Tin.php
- Triangle.php
- GEOSConstants.php
- GEOSFunctions.php
- GEOSGeometry.php
- GEOSWKBReader.php
- GEOSWKBWriter.php
- GEOSWKTReader.php
- GEOSWKTWriter.php
- EwkbAbstractTestCase.php
- EwkbReaderTest.php
- EwkbWriterTest.php
- EwktAbstractTestCase.php
- EwktReaderTest.php
- EwktWriterTest.php
- GeoJsonAbstractTestCase.php
- GeoJsonReaderTest.php
- GeoJsonWriterTest.php
- WkbAbstractTestCase.php
- WkbReaderTest.php
- WkbWriterTest.php
- WktAbstractTestCase.php
- WktReaderTest.php
- WktWriterTest.php
- RoundCoordinatesProjectorTest.php
- PointProxyTest.php
- AbstractTestCase.php
- BoundingBoxTest.php
- CircularStringTest.php
- CompoundCurveTest.php
- CurvePolygonTest.php
- CurveTest.php
- GeometryCollectionTest.php
- GeometryEngineTest.php
- GeometryTest.php
- LineStringTest.php
- MultiCurveTest.php
- MultiSurfaceTest.php
- PointTest.php
- PolygonTest.php
- PolyhedralSurfaceTest.php
- TinTest.php
- TriangleTest.php
- composer.json
- ecs.php
- .gitattributes
- .gitignore
- CHANGELOG.md
- codecov.yml
- composer.json
- LICENSE
- phpstan-baseline.neon
- phpstan.neon
- phpunit-bootstrap.php
- phpunit.xml
- proxy-generate.php
- proxy-template.php
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/brick/geo
Downloads the entire project code from GitHub to your computer.
cd geo
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f .docker/compose.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. PHP (Composer)
EasyPrerequisites
composer require brick/geo
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
