PHPackages                             himei/getipbyisp - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. himei/getipbyisp

ActiveLibrary[HTTP &amp; Networking](/categories/http)

himei/getipbyisp
================

Simple cURL based console application for getting IP ranges from suip.biz web-services by city, country or ISP

v1.1.1beta(8y ago)17MITPHPPHP &gt;=7.0.0

Since Dec 5Pushed 8y agoCompare

[ Source](https://github.com/hIMEI29A/getIpbyIsp)[ Packagist](https://packagist.org/packages/himei/getipbyisp)[ Docs](https://github.com/hIMEI29A/getIpbyIsp)[ RSS](/packages/himei-getipbyisp/feed)WikiDiscussions master Synced 1mo ago

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

GetIpByIsp
==========

[](#getipbyisp)

**Deprecated. See [Goranger](https://github.com/hIMEI29A/goranger).**

Simple cURL based console application for getting IP ranges from  web-services by city, country (very big size!! i'm really afraid) or ISP. In case of ISP you may specify single ip or web-site url of that provider as argument of script.

Dependencies
------------

[](#dependencies)

- pear/console\_commandline

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

[](#installation)

**Install via Composer:**

```
composer require himei/getIpbyIsp
```

**For manual installation clone repo**

```
git clone https://github.com/hIMEI29A/getIpbyIsp.git
```

**Follow to the root programm folder:**

```
cd getIpbyIsp
```

**Then install dependencies**

```
composer update

composer install
```

Usage
-----

[](#usage)

**Follow to bin directory of root program folder:**

```
cd bin
```

**Make main program file executable:**

```
chmod +x getipbyisp
```

Now use it.

**Type next in your console for getting help:**

```
./getipbyisp -h
```

or

```
./getipbyisp --help
```

**The output:**

```
Console application for getting IP range
from suip.biz web-services by city, country or ISP

Usage:
  getipbyisp [options] type request

Options:
  -o output, --output=output  File to store the result

  -h, --help                  Show this help message and exit

Arguments:
  type     Set the type of which IP ranges will be requested: city, counrty or isp

  request  Request string: for country - 2-letter country code, for city - its name, for ISP - single IP or ISPs url
```

Examples
--------

[](#examples)

To get all IP ranges of **Serbia**

```
./getipbyisp country RS
```

To get all IP ranges of **London** and save it to **file.txt**

```
./getipbyisp city london -o file.txt
```

To get all IP ranges of **Beeline** ISP

```
./getipbyisp isp beeline.ru
```

or

```
./getipbyisp isp 217.118.85.19
```

**Warning!!!** In case of request by city, write the name of the city **carefully and accurately**, as much as possible. If an error occurs in the name, the search on the uncleaned database is activated, and the result includes **ALL** IP ranges from **all** possible variants. To get the most accurate result, the city name **must not contain errors**.

TODO
----

[](#todo)

- Tests

Contact
-------

[](#contact)

For bug reports or any other purpose you may contact me via email \[himei at tuta dot io\].

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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 ~1 days

Total

2

Last Release

3076d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/433f715d13eb214546823d838dedbe3cdc2adb03bdadc780016e84cb30be333c?d=identicon)[hIMEI](/maintainers/hIMEI)

---

Top Contributors

[![MASNathan](https://avatars.githubusercontent.com/u/2139464?v=4)](https://github.com/MASNathan "MASNathan (1 commits)")

---

Tags

cliconsolecurlip-rangesnetworkingnetworksphpcliconsolecurlip ranges

### Embed Badge

![Health badge](/badges/himei-getipbyisp/health.svg)

```
[![Health](https://phpackages.com/badges/himei-getipbyisp/health.svg)](https://phpackages.com/packages/himei-getipbyisp)
```

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M253](/packages/rmccue-requests)[kriswallsmith/buzz

Lightweight HTTP client

2.0k31.3M439](/packages/kriswallsmith-buzz)[mashape/unirest-php

Unirest PHP

1.3k9.7M159](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M382](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

83510.1M71](/packages/smi2-phpclickhouse)[curl/curl

cURL class for PHP

32814.9M192](/packages/curl-curl)

PHPackages © 2026

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