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

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

crowdsec/lapi-client
====================

The official PHP client for the CrowdSec Local API (LAPI)

v3.7.1(3mo ago)498.9k↓20.7%32MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Dec 8Pushed 3mo ago9 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (22)Used By (2)

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

CrowdSec LAPI PHP client
========================

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

> The official PHP client for the CrowdSec Local API (LAPI)

[![Version](https://camo.githubusercontent.com/1505d8b29e3dfbb97db183ac14c1df446522024bdd9639e746720e30715ce574/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f63726f776473656375726974792f7068702d6c6170692d636c69656e743f696e636c7564655f70726572656c6561736573)](https://github.com/crowdsecurity/php-lapi-client/releases/)[![Test suite](https://github.com/crowdsecurity/php-lapi-client/actions/workflows/unit-and-integration-test.yml/badge.svg)](https://github.com/crowdsecurity/php-lapi-client/actions/workflows/unit-and-integration-test.yml)[![Coding standards](https://github.com/crowdsecurity/php-lapi-client/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/crowdsecurity/php-lapi-client/actions/workflows/coding-standards.yml)[![Licence](https://camo.githubusercontent.com/f57ef4a4c7b97ada0c712d79ac90418d26b5adb47b5bfdff1b40dbb3fb97e067/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63726f776473656375726974792f7068702d6c6170692d636c69656e74)](https://github.com/crowdsecurity/php-lapi-client/blob/main/LICENSE)

Usage
-----

[](#usage)

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

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

[](#installation)

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

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

[](#developer-guide)

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

License
-------

[](#license)

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

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance78

Regular maintenance activity

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% 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 ~64 days

Recently: every ~100 days

Total

19

Last Release

114d ago

Major Versions

v0.4.0 → v1.0.02023-01-27

v1.0.1 → v2.0.02023-02-02

v2.0.0 → v3.0.02023-03-09

### 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 (83 commits)")[![gam6itko](https://avatars.githubusercontent.com/u/3841197?v=4)](https://github.com/gam6itko "gam6itko (1 commits)")[![rr404](https://avatars.githubusercontent.com/u/2361382?v=4)](https://github.com/rr404 "rr404 (1 commits)")

---

Tags

phpclientrestcurlsecuritycrowdsecbouncerlapiappsec

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k66.1M251](/packages/nelmio-api-doc-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M306](/packages/api-platform-core)[api-platform/metadata

API Resource-oriented metadata attributes and factories

244.5M180](/packages/api-platform-metadata)[crowdsec/bouncer

The official PHP bouncer library for the CrowdSec Local API

199.1k2](/packages/crowdsec-bouncer)[arhitector/yandex

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

13085.5k5](/packages/arhitector-yandex)

PHPackages © 2026

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