Doctrine\Spatial can be installed using the Composer tool. You can either add doctrine/spatial
to your package dependencies, or if you want to install Doctrine\Spatial as standalone, go to the main directory of this package and run:
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
The Doctrine Spatial Extension is released under the MIT License.