image4io is a cloud service where your images are uploaded, moved, copied, fetched, deleted.
Composer package can be installed via following command
composer require image4io/image4iophp-sdk
To send requests to API, APIKey and APISecret must be given as string first. Required keys can be retrieved from image4io console.
use Image4IO\Image4ioApi;
$apiKey = 'apiKey';
$apiSecret = 'apiSecret';
$api = new Image4ioApi($apiKey, $apiSecret);
$result = $api->getImage('/example.png');
This SDK currently supports 16 requests.
- GetSubscription
- GetImage
- UploadImage
- FetchImage
- CopyImage
- MoveImage
- DeleteImage
- CreateFolder
- DeleteFolder
- ListFolder
- StartUploadStream
- UploadStreamPart
- FinalizeStream
- GetStream
- FetchStream
- DeleteStream
Documentation is available at: image4io API Documentation
Image4io team is always ready to support you, feel free to contact us.