Laravel Spatial

Laravel 5 package working with spatial data
Alternatives To Laravel Spatial
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Laravel Mysql Spatial7132116a year ago26October 17, 202078otherPHP
MySQL Spatial Data Extension integration with Laravel.
Laravel Eloquent Spatial167
11 days ago24February 28, 20232mitPHP
Laravel Eloquent spatial package.
Nova Map110
10 months ago10June 04, 20226Vue
Laravel Nova Map Field
Laravel Geo46
1a year ago12March 17, 20225gpl-3.0PHP
GeoSpatial integration on Laravel 5.2+ that supports MySQL and PostgreSQL.
9 months agomitTypeScript
Indonesian Boundaries
Laravel Spatial2
4 years ago3otherPHP
Laravel 5 package working with spatial data
Alternatives To Laravel Spatial
Select To Compare

Alternative Project Comparisons

Laravel Spatial extension

This package is fully untested, undocumented and unstable and is a combination of the two great packages:


Installation made super-easy with composer:

composer require apptimists/laravel-spatial

Also add the LaravelSpatial\SpatialServiceProvider::class to your config/app.php.


Works with PostgreSQL installed PostGIS extension and MySQL at least version 5.6.

If you try using it on a shared host which is not fulfilling those requirements, change your provider.


We use the GeoJson PHP Library for describing spatial fields as GeoJSON object, e.g.:

use GeoJSON\Geometry\Point;
$eloquent = new MyModel();
$eloquent->location = new Point([49.7, 6.9]);
Popular Spatial Analysis Projects
Popular Laravel Projects
Popular Mapping Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Laravel Package
Laravel 5 Package