2017 © Pedro Peláez
 

library iran-geo

Iran Provinces and Cities helper for Laravel.

image

adlino/iran-geo

Iran Provinces and Cities helper for Laravel.

  • Monday, April 23, 2018
  • by alirezahamedashki
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % 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

23/04 2018

dev-master

9999999-dev

Iran Provinces and Cities helper for Laravel.

  Sources   Download

MIT

The Requires

 

by Alireza Hamedashki

laravel geo iran cities provinces adlino