woodoocoder/laravel-location

0.2.3 2019-08-26 21:34 UTC

This package is auto-updated.

Last update: 2024-12-16 08:23:38 UTC


README

composer require woodoocoder/laravel-location

Customization

php artisan vendor:publish --tag location-config

Initialization

php artisan locations:init

Models

Woodoocoder\LaravelLocation\Model\Country
Woodoocoder\LaravelLocation\Model\Region
Woodoocoder\LaravelLocation\Model\City

Routes

/api/location/countries

/api/location/regions
/api/location/regions/{countryId}

/api/location/cities
/api/location/cities/{countryId}
/api/location/cities/{countryId}/{regionId}