PHPackages                             gbro115/twinjet-directconnect-php - 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. gbro115/twinjet-directconnect-php

ActiveProject[API Development](/categories/api)

gbro115/twinjet-directconnect-php
=================================

PHP client for the TwinJet DirectConnect API

1.2.1(5y ago)111MITPHPPHP ^7.3CI failing

Since Jan 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gbro115/twinjet-directconnect-php)[ Packagist](https://packagist.org/packages/gbro115/twinjet-directconnect-php)[ RSS](/packages/gbro115-twinjet-directconnect-php/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

TwinJet Direct Connect PHP API
==============================

[](#twinjet-direct-connect-php-api)

Composer-ready PHP wrapper for [TwinJet DirectConnect](https://twinjet.co/developer/).

Implemented calls:

1. Create Job
2. Job Status

Not yet implemented:

1. Update Job
2. Cancel Job

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

[](#installation)

The recommended way to install the library is using [Composer](https://getcomposer.org).

1. Add this json to your composer.json file:

```
{
    "require": {
        "gbro115/twinjet-directconnect-php": "^1.1"
    }
}
```

2. Next, run this from the command line:

```
composer install

```

3. Finally, add this line to your php file that will be using the SDK:

```
require 'vendor/autoload.php';

```

Limitations
-----------

[](#limitations)

Not all actions have been implemented.

Handling Exceptions
-------------------

[](#handling-exceptions)

If the API returns an error or an unexpected response, the PHP API will throw a \\TwinJet\\Exception.

Example usage
-------------

[](#example-usage)

```
