Download the PHP
package imagerelay/imagerelay-php without Composer
On this page you can find all versions of the php package
imagerelay/imagerelay-php. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor imagerelay Package imagerelay-php Short Description The Image Relay PHP Library makes it easy for developers to leverage the Image Relay API in their applications. License
MIT Homepage https://www.imagerelay.com
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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
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
Run the following command from your console
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
Don't forget to change to use your own subdomain or custom url.
Authorization with oAuth
When authorizing with oauth you will need to use one of the many existing libraries available to retrieve your oauth access token. The Image Relay API adheres to oauth standars for authentication.
Don't forget to change to use your own subdomain or custom url.
Requiresguzzle/guzzle Version
~3.3 php Version
>=5.3.3 ext-curl Version
*
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package imagerelay/imagerelay-php contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.