PHPackages                             sem-soft/yii2-ipgeobase - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sem-soft/yii2-ipgeobase

ActiveYii2-components[Utility &amp; Helpers](/categories/utility)

sem-soft/yii2-ipgeobase
=======================

Yii2 component geolocation http://ipgeobase.ru/ service

1.0.3(8y ago)022BSD-3-ClausePHPPHP &gt;=5.4.0

Since Apr 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sem-soft/yii2-ipgeobase)[ Packagist](https://packagist.org/packages/sem-soft/yii2-ipgeobase)[ RSS](/packages/sem-soft-yii2-ipgeobase/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Yii2 component geolocation  service
=========================================================

[](#yii2-component-geolocation-httpipgeobaseru-service)

Install by composer
-------------------

[](#install-by-composer)

composer require sem-soft/yii2-ipgeobase

Run migrations with local geo DB
--------------------------------

[](#run-migrations-with-local-geo-db)

```
$ ./yii migrate/up --migrationPath=@vendor/sem-soft/yii2-ipgeobase/migrations
```

Or add this code into require section of your composer.json and then call composer update in console
----------------------------------------------------------------------------------------------------

[](#or-add-this-code-into-require-section-of-your-composerjson-and-then-call-composer-update-in-console)

"sem-soft/yii2-ipgeobase": "\*"

Usage
-----

[](#usage)

In configuration file do

```

```

Use as simple component

```
