Installation

Installing via Composer

Using Composer is the recommended way to install the RECS SDK for PHP. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.

1. Install Composer

curl -sS https://getcomposer.org/installer | php

2. Run the Composer command to install the latest stable version of the SDK:

php composer.phar require nektria/recs-sdk-php

3. Require Composer's autoloader:

<?php
require 'vendor/autoload.php';

You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org.