PHPackages                             anycomment/php-sdk - 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. [API Development](/categories/api)
4. /
5. anycomment/php-sdk

ActiveLibrary[API Development](/categories/api)

anycomment/php-sdk
==================

PHP SDK to communicate with AnyComment REST API

0.1.2(5y ago)0221PHPPHP ^5.6|^7.0

Since Jul 29Pushed 5y agoCompare

[ Source](https://github.com/AnyComment/php-sdk)[ Packagist](https://packagist.org/packages/anycomment/php-sdk)[ RSS](/packages/anycomment-php-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (5)Used By (1)

AnyComment PHP-SDK
==================

[](#anycomment-php-sdk)

[![Build Status](https://camo.githubusercontent.com/5e7fdba07c84fd6bd3756ccebbf8d417d8c8f92cb5ec631c3984a423bfcbd76e/68747470733a2f2f7472617669732d63692e6f72672f416e79436f6d6d656e742f7068702d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AnyComment/php-sdk)

AnyComment API is an HTTP-based interface created for developers to help to work with AnyComment REST services.

The documentation can be found [here](https://anycommentio.docs.apiary.io/).

Minimum requirement is PHP 5.6.

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

[](#installation)

Add [new package](https://packagist.org/packages/anycomment/php-sdk) to `composer.json` in your project directory:

```
composer require anycomment/php-sdk
```

or

```
{
  "require":{
    "anycomment/php-sdk":"^0.1.2"
  }
}
```

Tests
-----

[](#tests)

Run the following command to start tests:

```
composer run test

```

Examples
--------

[](#examples)

Examples can be found in `/examples` folder.

> Notice that you need to provide your API key for each example to make it work.

Usage
-----

[](#usage)

You need to prepare a configuration class and pass your API key to constructor.

See example:

```
