FROM composer, pulls in filestack's PHP SDK
1.2K
Run an example image upload (automatically) with:
docker run -it --rm -e APIKEY=MYAPIKEYHERE filestack/php:example
Substitute your Filestack APIKEY where it says MYAPIKEYHERE and wait as the PHP script runs an upload on an (included) elephant.jpg image. The output is the result of:
var_dump( $client->getMetaData($filelink->handle, $fields) );
...upon success.
See the Content Cookbook blog post for more: https://blog.filestack.com/content-cookbook/upload-files-with-php/
Content type
Image
Digest
Size
114.4 MB
Last updated
almost 8 years ago
docker pull filestack/php