PHPackages                             glanser/host-tracker-api - 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. glanser/host-tracker-api

ActiveLibrary[API Development](/categories/api)

glanser/host-tracker-api
========================

Host-Tracker.com REST API

0.0.4(7y ago)0181[1 PRs](https://github.com/glanser/host-tracker-api/pulls)MITPHPPHP &gt;=5.4.0

Since Jan 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/glanser/host-tracker-api)[ Packagist](https://packagist.org/packages/glanser/host-tracker-api)[ RSS](/packages/glanser-host-tracker-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

PHP Host-Tracker.com API
========================

[](#php-host-trackercom-api)

A simple Object Oriented wrapper for Host-Tracker.com API, written with PHP.

Uses [Host-Tracker.com API](https://www.host-tracker.com/api/web/v1/help).

Features
--------

[](#features)

- ОК - user operations
- ОК - agent operations
- NОК - task operations
    (without POST /api/web/v1/tasks/$batch, no information in official documentation)
- NOK - contact operations
    (without POST /api/web/v1/contacts/$batch, no information in official documentation)
- OK - subscription operations
- ОК - stats operations
- ОК - outages operations
- **NO** - AdWords campaign operations

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

[](#requirements)

- PHP &gt;= 5.4
- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle): ^6.3
- The PHP [cURL](http://php.net/manual/en/book.curl.php) extension
- The PHP [JSON](http://php.net/manual/en/book.json.php) extension

Install
-------

[](#install)

### Composer

[](#composer)

[Composer](http://getcomposer.org/download/) users can simply run:

```
$ composer require glanser/host-tracker-api
```

at the root of their projects. To utilize the library, include Composer's `vendor/autoload.php` in the scripts that will use the `HostTracker` classes.

For example,

```
