PHPackages                             sivolobov/geocoder-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. sivolobov/geocoder-ipgeobase

ActiveLibrary

sivolobov/geocoder-ipgeobase
============================

Geocoder provider for IpGeoBase service (Russia).

v1.0.3(8y ago)075MITPHP

Since May 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sivolobov/ipgeobase-geocoder-provider)[ Packagist](https://packagist.org/packages/sivolobov/geocoder-ipgeobase)[ RSS](/packages/sivolobov-geocoder-ipgeobase/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Geocoder IpGeoBase provider
===========================

[](#geocoder-ipgeobase-provider)

[![SensioLabsInsight](https://camo.githubusercontent.com/51c748e1397ff437b9560c975996ca71dc8ce7e6a39508720a5dfdaa6e34c9db/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39656136643639382d353439652d346362662d626430322d6163623139333838343462622f6269672e706e67)](https://insight.sensiolabs.com/projects/9ea6d698-549e-4cbf-bd02-acb1938844bb)

This repository hosts IpGeoBase provider to use with Geocoder library.

Installation
------------

[](#installation)

The recommended way to install this package is through Composer:

```
composer require sivolobov/geocoder-ipgeobase

```

Usage
-----

[](#usage)

You need to read [Geocoder's usage documentaion](https://github.com/geocoder-php/Geocoder#usage) first.

Simple example:

```
$curl     = new \Ivory\HttpAdapter\CurlHttpAdapter();
$geocoder = new \Geocoder\Provider\IpGeoBase($curl);

$addressCollection = $geocoder->geocode('213.180.193.3');

```

Symfony integration
-------------------

[](#symfony-integration)

To use IpGeoBase in Symfony project you need to install [BazingaGeocoderBundle](https://github.com/geocoder-php/BazingaGeocoderBundle/blob/master/Resources/doc/index.md):

After configuring bundle you need to define custom provider. So add these lines to your `services.yml`:

```
bazinga_geocoder.provider.ip_geo_base:
    class:  Geocoder\Provider\IpGeoBase
    arguments:
        - "@bazinga_geocoder.geocoder.adapter"
    tags:
        - {name: "bazinga_geocoder.provider"}
    public: false
    lazy:   true

```

Now you can use it as:

```
$addressCollection = $this->get('geocoder')->using('ip_geo_base')->geocode($request->getClientIp());

```

Notes
-----

[](#notes)

Note that `geocode()` return `AddressCollection` instance but IpGeoBase always return only one address for one IP. So that collection will always have only one element.

License
-------

[](#license)

Geocoder IpGeoBase provider is released under the MIT License. See the bundled LICENSE file for details.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~192 days

Total

4

Last Release

3074d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aadb514ca119fe334b662015eb7311a220b579e42844d50a469ecd8369eb45e?d=identicon)[sivolobov](/maintainers/sivolobov)

---

Top Contributors

[![sivolobov](https://avatars.githubusercontent.com/u/1647174?v=4)](https://github.com/sivolobov "sivolobov (16 commits)")

### Embed Badge

![Health badge](/badges/sivolobov-geocoder-ipgeobase/health.svg)

```
[![Health](https://phpackages.com/badges/sivolobov-geocoder-ipgeobase/health.svg)](https://phpackages.com/packages/sivolobov-geocoder-ipgeobase)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[toin0u/geocoder-laravel

Geocoder Service Provider for Laravel

7385.1M13](/packages/toin0u-geocoder-laravel)[geocoder-php/common-http

Common files for HTTP based Geocoders

18722.1M64](/packages/geocoder-php-common-http)[willdurand/geocoder-bundle

Integration of Geocoder into Symfony

3226.4M12](/packages/willdurand-geocoder-bundle)[geocoder-php/google-maps-provider

Geocoder GoogleMaps adapter

18517.9M44](/packages/geocoder-php-google-maps-provider)[geocoder-php/chain-provider

Geocoder chain adapter

1046.8M13](/packages/geocoder-php-chain-provider)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
