PHPackages                             trolley/core - 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. [Payment Processing](/categories/payments)
4. /
5. trolley/core

ActiveLibrary[Payment Processing](/categories/payments)

trolley/core
============

Trolley PHP SDK

3.0.2(2y ago)1196.4k↓21.5%11[2 PRs](https://github.com/trolley/php-sdk/pulls)MITPHPPHP &gt;=5.4CI failing

Since Oct 27Pushed 2mo ago11 watchersCompare

[ Source](https://github.com/trolley/php-sdk)[ Packagist](https://packagist.org/packages/trolley/core)[ Docs](https://github.com/Trolley/php-sdk)[ RSS](/packages/trolley-core/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (3)Versions (22)Used By (0)

Trolley PHP SDK
===============

[](#trolley-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/1759cebdf7b35214eba2404b0026312d1142843e3c556956035906a61d7a5dc4/687474703a2f2f706f7365722e707567782e6f72672f74726f6c6c65792f636f72652f76)](https://packagist.org/packages/trolley/core)[![PHP Version Require](https://camo.githubusercontent.com/f35aa573353646130a9d3d46bce2d38bd82ef99a6dd0fc4d2a54193d2e527769/687474703a2f2f706f7365722e707567782e6f72672f74726f6c6c65792f636f72652f726571756972652f706870)](https://packagist.org/packages/trolley/core)

The Trolley PHP SDK provides integration access to the Trolley API.

Requirements
------------

[](#requirements)

PHP version &gt;= 5.4.0 is required.

The following PHP extensions are required:

curl json mbstring openssl

Installation &amp; Usage
------------------------

[](#installation--usage)

### SDK

[](#sdk)

```
git clone https://github.com/PaymentRails/php-sdk.git
```

### Composer

[](#composer)

[Install PHP Composer](https://getcomposer.org/doc/00-intro.md)

To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:

```
composer require trolley/core
```

Then run `composer install`

Getting Started
---------------

[](#getting-started)

Please follow the [installation procedure](#installation--usage) and then run the following:

```
