uploadcare-php
uploadcare-php copied to clipboard
PHP API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
### Question Given a URL e.g, `https://ucarecdn.com//-/preview/30x50/` how can I get the original width and height. Right now I can get the transformed dimensions as follows: ``` $file = $api->uploader()->fromUrl("https://ucarecdn.com//-/preview/30x50/");...
## Description Update all ## Checklist - [x] Tests (if applicable) - [x] Documentation (if applicable) - [x] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/))
### Question I have the following transformed URL given by the uploader like so: https://ucarecdn.com/8ee8182c-8927-4cdc-8338-d66e4dabf119/-/crop/270x152/0,59/-/resize/1600x900/ I am able to get the original dimensions using the following code: ```php $uuidRegexp =...
I want uploadcare-php to have the same signed URL capabilities as pyuploadcare. Correct me if this is something wrong to do (or already done, or requires to build something else)....
Currently URL like `/cd334b26-c641-4393-bcce-b5041546430d~11/nth/1/-/crop/250x250/1000,1000/` won't work when signing a URL, because Akamai escape some symbols. We use tildas in group URLs, and commas in operations like crop and overlay. Here...
Files can be added to the group with some CDN operations. File info _in group info_ shows this operations separately from UUID. https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Group/operation/groupInfo https://uploadcare.com/api-refs/upload-api/#tag/Groups/operation/filesGroupInfo p.s. Don't forget to update uploadcare-php-example...