image4io / image4iophp-sdk
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP SDK for image4.io
1.0.4
2020-11-29 09:35 UTC
Requires
- php: >=5.3.0
README
Image4ioPhpSDK
image4io is a cloud service where your images are uploaded, moved, copied, fetched, deleted.
Installation
Composer package can be installed via following command
composer require image4io/image4iophp-sdk
Configuration
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');
Available Requests
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
Contact Us
Image4io team is always ready to support you, feel free to contact us.