PHPackages                             vendapi/vendapi - 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. vendapi/vendapi

ActiveLibrary[API Development](/categories/api)

vendapi/vendapi
===============

Vend API class

1.5.2(8y ago)354.6k21[2 issues](https://github.com/brucealdridge/VendAPI/issues)[1 PRs](https://github.com/brucealdridge/VendAPI/pulls)1MITPHPPHP &gt;=5.3.0

Since Aug 20Pushed 7y ago7 watchersCompare

[ Source](https://github.com/brucealdridge/VendAPI)[ Packagist](https://packagist.org/packages/vendapi/vendapi)[ Docs](http://github.com/brucealdridge/vendapi)[ RSS](/packages/vendapi-vendapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)DependenciesVersions (4)Used By (1)

Vend API class
==============

[](#vend-api-class)

This is a basic PHP class for using the API for Vend (vendhq.com). It is at a really basic state but it does exactly what I need at the moment. Feel free to add any issues/bugs and send me any pull requests.

NB: Updated to use oauth for July 2015 deprecation, if you have sample code for handling oauth authorization and token refreshes submit a pull requst

Installation and Basic Usage
----------------------------

[](#installation-and-basic-usage)

### With Composer

[](#with-composer)

The easiest way to install Vend API is via [composer](http://getcomposer.org/). Create the following `composer.json` file and run the `php composer.phar install` command to install it.

```
{
    "require": {
        "vendapi/vendapi": "dev-master"
    }
}
```

### Without Composer

[](#without-composer)

Why are you not using [composer](http://getcomposer.org/)? Download and extract the [zip file](https://github.com/brucealdridge/VendAPI/archive/master.zip) from the repo into your project path somewhere.

```
