PHPackages                             crowdsec/capi-client - 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. crowdsec/capi-client

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

crowdsec/capi-client
====================

The official PHP client for the CrowdSec Central API (CAPI)

v3.5.2(4mo ago)5105.0k↓53.4%21MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Jun 24Pushed 6d ago9 watchersCompare

[ Source](https://github.com/crowdsecurity/php-capi-client)[ Packagist](https://packagist.org/packages/crowdsec/capi-client)[ RSS](/packages/crowdsec-capi-client/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (5)Versions (33)Used By (1)

[![CrowdSec Logo](https://raw.githubusercontent.com/crowdsecurity/php-capi-client/main/docs/images/logo_crowdsec.png)](https://raw.githubusercontent.com/crowdsecurity/php-capi-client/main/docs/images/logo_crowdsec.png)

CrowdSec CAPI PHP client
========================

[](#crowdsec-capi-php-client)

> The official PHP client for the CrowdSec Central API (CAPI)

[![Version](https://camo.githubusercontent.com/0777ffa8ee7957e5f6324fb8e976cb89c22ff8731c6e9be013ae164a2d2f2eaa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f63726f776473656375726974792f7068702d636170692d636c69656e743f696e636c7564655f70726572656c6561736573)](https://github.com/crowdsecurity/php-capi-client/releases/)[![Test suite](https://github.com/crowdsecurity/php-capi-client/actions/workflows/unit-and-integration-test.yml/badge.svg)](https://github.com/crowdsecurity/php-capi-client/actions/workflows/unit-and-integration-test.yml)[![Coding standards](https://github.com/crowdsecurity/php-capi-client/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/crowdsecurity/php-capi-client/actions/workflows/coding-standards.yml)[![Licence](https://camo.githubusercontent.com/c2672d32e52505709ae61b98517cd7d26b292431a0d3c43feec3cbf691c1cc00/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63726f776473656375726974792f7068702d636170692d636c69656e74)](https://github.com/crowdsecurity/php-capi-client/blob/main/LICENSE)

Usage
-----

[](#usage)

See [User Guide](https://github.com/crowdsecurity/php-capi-client/blob/main/docs/USER_GUIDE.md)

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

[](#installation)

See [Installation Guide](https://github.com/crowdsecurity/php-capi-client/blob/main/docs/INSTALLATION_GUIDE.md)

Developer guide
---------------

[](#developer-guide)

See [Developer guide](https://github.com/crowdsecurity/php-capi-client/blob/main/docs/DEVELOPER.md)

License
-------

[](#license)

[MIT](https://github.com/crowdsecurity/php-capi-client/blob/main/LICENSE)

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance89

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 99.3% 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 ~51 days

Recently: every ~96 days

Total

27

Last Release

123d ago

Major Versions

v0.11.0 → v1.0.02023-01-27

v1.0.1 → v2.0.02023-02-02

v2.1.0 → v3.0.02023-03-09

PHP version history (2 changes)v0.0.1PHP &gt;=5.3

v0.1.0PHP ^7.2.5 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7536d4f2bfc03e29477a22b9a4d6b551b302abecb7a25e3a068c5e67d11f29d6?d=identicon)[crowdsec](/maintainers/crowdsec)

---

Top Contributors

[![julienloizelet](https://avatars.githubusercontent.com/u/20956510?v=4)](https://github.com/julienloizelet "julienloizelet (151 commits)")[![rr404](https://avatars.githubusercontent.com/u/2361382?v=4)](https://github.com/rr404 "rr404 (1 commits)")

---

Tags

phpclientrestcurlsecuritywatchercapicrowdsec

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crowdsec-capi-client/health.svg)

```
[![Health](https://phpackages.com/badges/crowdsec-capi-client/health.svg)](https://phpackages.com/packages/crowdsec-capi-client)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51090.8k2](/packages/web-auth-webauthn-framework)[api-platform/json-schema

Generate a JSON Schema from a PHP class

294.3M57](/packages/api-platform-json-schema)[arhitector/yandex

PHP SDK для работы с некоторыми сервисами яндекса (Яндекс.Диск, Yandex.Disk)

13085.5k5](/packages/arhitector-yandex)

PHPackages © 2026

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