Download the PHP package bagusindrayana/laravel-coordinate without Composer
On this page you can find all versions of the php package bagusindrayana/laravel-coordinate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bagusindrayana/laravel-coordinate
More information about bagusindrayana/laravel-coordinate
Files in bagusindrayana/laravel-coordinate
Download bagusindrayana/laravel-coordinate
More information about bagusindrayana/laravel-coordinate
Files in bagusindrayana/laravel-coordinate
Vendor bagusindrayana
Package laravel-coordinate
Short Description get nearby location from eloquent laravel
License MIT
Package laravel-coordinate
Short Description get nearby location from eloquent laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-coordinate
LARAVEL-COORDINATE
find data with the closest location based on its coordinates with eloquent laravel
Installation
-
In Model
- Using trait
Formula
I haven't tried how much data it can handle and how fast the calculations are, so here are 3 different formulas you can try
formula paramter/arguments (int)
- 0 = default
- 1 = Spherical Law of Cosines
- 2 = Haversine formula
example :
Scope
insideBox(coorinate(2 coordinate))
All versions of laravel-coordinate with dependencies
PHP Build Version
Package Version
No informations.
The package bagusindrayana/laravel-coordinate contains the following files
Loading the files please wait ....