Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 681 Bytes

installation.md

File metadata and controls

34 lines (22 loc) · 681 Bytes

Installation via Composer

We recommend installing the client using Composer.

Use Composer to add manticoresearch-php to your project:

  $ composer require manticoresoftware/manticoresearch-php

You can also directly add this line in the require block of composer.json:

{
"require" : {
   "manticoresoftware/manticoresearch-php":"^1.0"
   }
}

and then use composer install.

Composer will download and take care of the autoloading of files. To use the client, you just have to include the autoload:

  require_once __DIR__ . '/vendor/autoload.php';

  $client = new \Manticoresearch\Client();