Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 958 Bytes

INSTALLATION_GUIDE.md

File metadata and controls

32 lines (18 loc) · 958 Bytes

CrowdSec Logo

CrowdSec LAPI PHP client

Installation Guide

Table of Contents

Requirements

  • PHP >= 7.2.5
  • required php extensions : ext-json

By default, each call to the CrowdSec LAPI use cURL to process http requests. Thus, if you are using this default curl request handler, then ext-curl is also required.

As an alternative, you can implement your own request handler or use the provided file_get_contents request handler.

Installation

Use Composer by simply adding crowdsec/lapi-client as a dependency:

composer require crowdsec/lapi-client