PHPackages                             kristuff/abuseipdb-cli - 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. [API Development](/categories/api)
4. /
5. kristuff/abuseipdb-cli

ActiveProject[API Development](/categories/api)

kristuff/abuseipdb-cli
======================

A CLI tool to check/report IP addresses, download blacklist with AbuseIPDB API V2

v0.9.20(2y ago)531666[2 issues](https://github.com/kristuff/abuseipdb-cli/issues)MITPHPPHP &gt;=7.1

Since May 23Pushed 2y ago2 watchersCompare

[ Source](https://github.com/kristuff/abuseipdb-cli)[ Packagist](https://packagist.org/packages/kristuff/abuseipdb-cli)[ RSS](/packages/kristuff-abuseipdb-cli/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (23)Used By (0)

kristuff/abuseipdb-cli
======================

[](#kristuffabuseipdb-cli)

> A CLI tool to check/report IP addresses with the AbuseIPDB API V2

[![Build Status](https://camo.githubusercontent.com/81238a0f9566151626145d617cc61b3df155f846c274deb819d548de77d0fca1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b726973747566662f6162757365697064622d636c692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kristuff/abuseipdb-cli/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ca738bc3b913a60683392585934bf83f10392b668359a4783f7a5d956d86bf52/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b726973747566662f6162757365697064622d636c692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kristuff/abuseipdb-cli/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/5e32becc4f649c17a89588a65d55a9a30dbdd171940f53f6272927de25407510/68747470733a2f2f706f7365722e707567782e6f72672f6b726973747566662f6162757365697064622d636c692f762f737461626c65)](https://packagist.org/packages/kristuff/abuseipdb-cli)[![License](https://camo.githubusercontent.com/56b32fe8c293ca3ed437e3c8293ecf061292a176ffb6aa21bf6fcd0c7497921c/68747470733a2f2f706f7365722e707567782e6f72672f6b726973747566662f6162757365697064622d636c692f6c6963656e7365)](https://packagist.org/packages/kristuff/abuseipdb-cli)

[![sample-report](doc/sample-check.gif)](https://kristuff.fr/projects/abuseipdbcli)

Features
--------

[](#features)

- Single IP check request **✓**
- IP block check request **✓**
- Blacklist request **✓**
- Single IP report request **✓**
- Bulk report request (send `csv` file) **✓**
- Clear IP address request (remove your own reports) **✓**
- Auto cleaning report comments from sensitive data (email, custom ip/domain names list) **✓**
- Output: colored reports, JSON or plaintext **✓**
- Define timeout for cURL internal requests (in config or from command line) **✓**
- Easy Fail2ban integration **✓**

Requirements
------------

[](#requirements)

- PHP version: &gt;= 7.1
- PHP's modules: `php-curl`, `php-mbstring`
- A valid [abuseipdb.com](https://abuseipdb.com) account with an API key
- Composer for install (not required if you install the `.deb` package)

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

[](#dependencies)

- [kristuff/abuseipdb](https://github.com/kristuff/abuseipdb) A wrapper for abuseIPDB API v2
- [kristuff/mishell](https://github.com/kristuff/mishell) Used to build cli colored/tables reports

More infos
----------

[](#more-infos)

- [Project website](https://kristuff.fr/projects/abuseipdbcli)
- [Api documentation](https://kristuff.fr/projects/abuseipdbcli/doc)
- [Install](https://kristuff.fr/projects/abuseipdbcli/technical#install)
- [Config guide](https://kristuff.fr/projects/abuseipdbcli/technical#configuration)
- [Fail2ban integration](https://kristuff.fr/projects/abuseipdbcli/technical#fail2ban)

Screenshots
-----------

[](#screenshots)

[![sample-check-internal-ip](doc/sample-check-internal-ip.png)](doc/sample-check-internal-ip.png)

[![sample-checkblock-internal-ip](doc/sample-checkblock-internal-ip.png)](doc/sample-checkblock-internal-ip.png)

[![sample-check-bad-ip](doc/sample-check-bad-ip.png)](doc/sample-check-bad-ip.png)

[![sample-checkblock-bad-ip](doc/sample-checkblock-bad-ip.png)](doc/sample-checkblock-bad-ip.png)

[![sample-report-internal-ip](doc/sample-report-internal-ip.png)](doc/sample-report-internal-ip.png)

[![sample-sample-clear-internal-ip](doc/sample-clear-internal-ip.png)](doc/sample-clear-internal-ip.png)

[![sample-blacklist](doc/sample-blacklist.png)](doc/sample-blacklist.png)

[![sample-blacklist-plaintext](doc/sample-blacklist-plaintext.png)](doc/sample-blacklist-plaintext.png)

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2020-2022 Kristuff

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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

Recently: every ~133 days

Total

21

Last Release

1093d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98e454c0db17733610dd2fadad69d354cd8adb82db4756cda39925275a2293b1?d=identicon)[Kristuff](/maintainers/Kristuff)

---

Top Contributors

[![kristuff](https://avatars.githubusercontent.com/u/16272398?v=4)](https://github.com/kristuff "kristuff (93 commits)")

---

Tags

abuseipdbabuseipdb-apiblacklistcli-appphpapiclientabuseipdb

### Embed Badge

![Health badge](/badges/kristuff-abuseipdb-cli/health.svg)

```
[![Health](https://phpackages.com/badges/kristuff-abuseipdb-cli/health.svg)](https://phpackages.com/packages/kristuff-abuseipdb-cli)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

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