Download the PHP package vedatunlu/order-by-distance without Composer
On this page you can find all versions of the php package vedatunlu/order-by-distance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vedatunlu/order-by-distance
More information about vedatunlu/order-by-distance
Files in vedatunlu/order-by-distance
Download vedatunlu/order-by-distance
More information about vedatunlu/order-by-distance
Files in vedatunlu/order-by-distance
Vendor vedatunlu
Package order-by-distance
Short Description This package helps ordering your location model by distance for given coordinates
License MIT
Package order-by-distance
Short Description This package helps ordering your location model by distance for given coordinates
License MIT
Please rate this library. Is it a good library?
Informations about the package order-by-distance
Order By Distance
This package provides an elegant way to sort your model collection by distance.
Installation
-
Use Composer to add the package to your project:
- Add NearestTo trait to the model you want to use in your laravel project.
Important: Your model should have 'latitude' and 'longitude' columns on the database.
Basic Usage
Contributing to the package
We welcome and appreciate your contributions to the package! The contribution guide can be found here.
License
This package is open-sourced software licensed under the MIT license.
All versions of order-by-distance with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package vedatunlu/order-by-distance contains the following files
Loading the files please wait ....