Skip to content

VEKsoftware/yii2-geolocation-ref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoLocation module

This module is aimed to store the locational data like Countries and Cities as well as timezones for them.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist veksoftware/yii2-geolocation-ref "*"

or add

"veksoftware/yii2-geolocation-ref": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

// config/main.php
<?php
    'modules' => [
        'location' => [
            'class' => '\geolocation\GeoLocation',
        ]
    ]

Then you can use it in your code :

<?php

?>

About

Geographical reference module to store Countries, Cities et al location data as well as timezones for those locations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages