PHPackages                             imagerelay/imagerelay-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. imagerelay/imagerelay-php

ActiveLibrary[API Development](/categories/api)

imagerelay/imagerelay-php
=========================

The Image Relay PHP Library makes it easy for developers to leverage the Image Relay API in their applications.

1.2.1.1(3y ago)11192MITPHPPHP &gt;=5.3.3CI failing

Since Jul 10Pushed 3y ago12 watchersCompare

[ Source](https://github.com/imagerelay/imagerelay-php)[ Packagist](https://packagist.org/packages/imagerelay/imagerelay-php)[ Docs](https://www.imagerelay.com)[ RSS](/packages/imagerelay-imagerelay-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Image Relay API PHP Library
===========================

[](#image-relay-api-php-library)

If you would like to contribute to the project please fork the repo and create a pull request with your work. Documentation will be updated as end points are added.

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

[](#installation)

We recommend using composer to manage dependencies and installation of the Image Relay API PHP library. If you are unfamiliar with composer you can read about installation into your application here - [Composer Install How To](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

##### Run the following command from your console

[](#run-the-following-command-from-your-console)

```
	$ php composer.phar require imagerelay/imagerelay-php
```

Usage
-----

[](#usage)

To use the library you only need to have an Image Relay account with proper permissions to complete the API actions. You will need to require once the vender/autoload.php file provided by composer.

##### Authorization with username and password

[](#authorization-with-username-and-password)

Don't forget to change `imagerelay_url` to use your own subdomain or custom url.

```
