Download the PHP package emstorage/php-sdk without Composer
On this page you can find all versions of the php package emstorage/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-sdk
EmStorage PHP SDK
PHP SDK for http://fr.emstorage.com
Install
A stable version will eventually be released one day...
Create a client
With Silex
You can use the service provider:
For each applications it will create a service named "emstorage.yourAppName"
Or manually
Usage
The client has one subclient per resource in EmStorage. TODO: one doc file per resource
ObjectClient
-
Create a file (it will throw an exception if the file already exist - TODO)
-
Update a file (it will throw an exception if the file doesn't exist - TODO)
-
Delete a file (it will throw an exception if the file doesn't exist - TODO)
-
Get a file metadatas
- Get a list
You also can work with models (ObjectSummaryInterface)
- Create a file
Feel free to exlore the client with your IDE to find some other methods to create, get or delete file from object or objectId.
Models
ObjectSummaryInterface
This is the interface you work with when you send files.
Collection
A collection of ObjectSummaryInterface.
It also provide nav and links properties:
To be continued...
All versions of php-sdk with dependencies
ext-json Version *
awelty/security Version dev-master
symfony/http-client Version ^5.0
symfony/mime Version ^5.0
symfony/serializer Version ^5.0
symfony/property-access Version ^5.0
symfony/property-info Version ^5.0
symfony/cache Version ^5.0