surzhikov/location

Eloquent-style wrapper for DaData service (geocoding) (for Laravel)

dev-master 2021-11-01 12:26 UTC

This package is auto-updated.

Last update: 2024-04-29 04:47:35 UTC


README

Eloquent-style wrapper for DaData.ru geocoding (for Laravel)

Example

use \Surzhikov\Location\Location;
$locations = Location::where('address', 'like', 'Мосва, улица Ленинский просп дом 4')
    ->limit(10)
    ->where('level', '>=', 'city')
    ->get();