Download the PHP package jackpopp/geodistance without Composer

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

Please rate this library. Is it a good library?

All versions of geodistance with dependencies

Informations about the package geodistance

GeoDistance

GeoDistance allows you to search for locations within a radius using latitude and longitude values with your eloquent models.

Setup

Add geodistance to your composer file.

Add the geodistance trait to your eloquent model and lat/lng columns to your table.

You can now search for locations within a distance, using miles or kilometers:

You can also search for locations outside a certain distance:

Distances Available

Miles (miles/m) Kilometers (kilometers/km) Nautical Miles (nautical_miles) Feet (feet)

If you wish to add addtional measurements, please create a new issue.

Credit to movable-type.co.uk for information on selecting points withing a bounding circle - http://www.movable-type.co.uk/scripts/latlong-db.html


Version
Requires illuminate/database Version *

The package jackpopp/geodistance contains the following files

Loading the files please wait ....