2017 © Pedro Peláez
 

library locations

Iran Provinces, Counties and Cities with a Google Map Location for Laravel.

image

adlino/locations

Iran Provinces, Counties and Cities with a Google Map Location for Laravel.

  • Thursday, June 14, 2018
  • by alirezahamedashki
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

Locations

License Latest Stable Version Total Downloads, (*1)

Iran Provinces, Counties and Cities with a Google Map Location for Laravel., (*2)

Installation

composer require adlino/locations

Publish

php artisan vendor:publish --force --provider="Adlino\Locations\LocationsServiceProvider"
composer dump-autoload
php artisan locations:init

Usage

// get all provinces
$provinces = Locations::getAllProvinces(); // return approved provinces

// get all counties
$counties = Locations::getAllCounties(); // return approved counties

// get all cities
$cities = Locations::getAllCities(); // return approved cities

// get cities of province
$cities = $province->getCities();

// get counties of province
$counties = $province->getCounties();

// get area code of tehran province
$areaCode = $province->getAreaCode(); // 021

The Versions

14/06 2018

dev-master

9999999-dev

Iran Provinces, Counties and Cities with a Google Map Location for Laravel.

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Alireza Hamedashki
by Saman Moghimi

laravel latitude longitude iran cities provinces locations counties

27/05 2018

0.0.1

0.0.1.0

Iran Provinces, Counties and Cities with a Google Map Location for Laravel.

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Alireza Hamedashki
by Saman Moghimi

laravel latitude longitude iran cities provinces locations counties

22/05 2018

dev-develop

dev-develop

Iran Provinces and Cities helper for Laravel.

  Sources   Download

MIT

The Requires

 

by Alireza Hamedashki

laravel geo iran cities provinces adlino