Download the PHP package longitude-one/doctrine-spatial without Composer

On this page you can find all versions of the php package longitude-one/doctrine-spatial. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package doctrine-spatial

doctrine-Spatial

Doctrine-spatial is a doctrine extension. It implements spatial types and functions. As exemple, this extension can help you to know if your favorite superheroes is inside Gotham city.

Currently, MySQL and PostgreSQL with PostGIS are supported. Could potentially add support for other platforms if an interest is expressed.

Current status

Last integration test Maintainability Downloads Documentation Status Test Coverage

Documentation

The new documentation explain how to:

The documentation contains a glossary of all available types and all available spatial functions.

Project origins

This useful library was created by Derek J. Lambert. Alexandre Tranchant forked it from creof/doctrine-spatial because project seems to be non-active since 2017.

The dev branch can be used, but be careful backward compatibility aren't warrantied. The main branch will be dedicated to fix issue. The release 3.0 has been published during summer 2021. The release 4.0 will be published during spring 2023 and compatibility with PHP7.4 and 8.0 will be abandoned because of PHP roadmap

Compatibility

PHP

This doctrine extension is compatible with PHP 8.1+ Security fixes will follow the PHP Roadmap.

MySQL 5.7 and 8.0

A lot of functions change their names between these two versions. The MySQL 5.7 deprecated functions are not implemented.

MariaDB 10

This version is NOT compatible with MariaDB version. Some spatial functions seems to work, but their results are different from MySQL version (StContains function is a good example).

PostgreSQL

This spatial library is compatible with PostgreSql13. This library is tested with Postgis 3.1.

Migrating from creof/doctrine2-spatial

Update your composer.json to replace creof/doctrine2-spatial by longitude-one/doctrine-spatial.

Update the namespace, each use CrEOF\Spatial\... by use LongitudeOne\Spatial\...

Help wanted

RFC I don't have enough money to buy the last edition of the ISO/IEC 13249-3:2016. I only bought the previous version. This document is essential to know which functions are in Standard and which one are specific to a database engine. If anyone has bought one and don't use it anymore, feel free to forward it. You can contact me by mail, specified in composer.json.

Microsoft SQL Server I'm searching help to create a docker delivering a Microsoft SQL Server service. So I'll be able to implement compatibility with this database server.

MariaDB I'm searching help to create a Github action delivering a MariaDB service, to launch test and determine if this library is compatible.


All versions of doctrine-spatial with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-mbstring Version *
creof/geo-parser Version ~2.2
longitude-one/wkt-parser Version ~1.0
creof/wkb-parser Version ~2.3
doctrine/orm Version ^2.8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package longitude-one/doctrine-spatial contains the following files

Loading the files please wait ....