Method |
Description |
|
__construct ( Illuminate\Config\Repository $config, Cloudinary $cloudinary, Uploader $uploader, Api $api ) : void |
Create a new cloudinary instance. |
|
addTag ( string $tag, array $publicIds = [], array $options = [] ) |
Add tag to images. |
|
createArchive ( array $options = [], $nameArchive = null, string $mode = 'create' ) |
Create a zip file containing images matching options. |
|
createTransformation ( string $name, string $definition, array $options = [] ) : array |
Create transformation |
|
createUploadMapping ( string $name, array $options = [] ) : array |
Create upload mapping |
|
createUploadPreset ( string $name, array $options = [] ) : array |
Create upload preset |
|
delete ( $publicId, $options = [] ) : array |
Alias of destroy. |
|
deleteAllResources ( array $options = [] ) : null |
Destroy all resources from Cloudinary |
|
deleteDerivedResources ( array $publicIds = [], array $options = [] ) : null |
Delete transformed images by IDs |
|
deleteResources ( array $publicIds, array $options = [] ) : null |
Destroy images from Cloudinary |
|
deleteResourcesByPrefix ( string $prefix, array $options = [] ) : null |
Destroy a resource by its prefix |
|
deleteResourcesByTag ( string $tag, array $options = [] ) : null |
Delete all resources from one tag |
|
deleteTransformation ( string $transformation, array $options = [] ) : array |
Delete single transformation |
|
deleteUploadMapping ( string $name, array $options = [] ) : array |
Delete upload mapping |
|
deleteUploadPreset ( string $name, array $options = [] ) : array |
Delete upload preset |
|
destroy ( string $publicId, array $options = [] ) : array |
Destroy resource from Cloudinary |
|
destroyImage ( string $publicId, array $options = [] ) : array |
Alias for destroy |
|
destroyImages ( array $publicIds, array $options = [] ) : null |
Alias for deleteResources |
|
downloadArchiveUrl ( array $options = [], $nameArchive = null ) |
Download a zip file containing images matching options. |
|
getApi ( ) : Api |
Get cloudinary api |
|
getCloudinary ( ) : Cloudinary |
Get cloudinary class. |
|
getPublicId ( ) : string |
Uploaded public ID. |
|
getResult ( ) : array |
Uploaded result. |
|
getUploader ( ) : Uploader |
Get cloudinary uploader. |
|
ping ( array $options = [] ) : array |
Ping cloudinary servers |
|
privateDownloadUrl ( string $publicId, string $format, array $options = [] ) : string |
Display private image |
|
removeTag ( string $tag, array $publicIds = [], array $options = [] ) |
Remove tag from images. |
|
rename ( string $publicId, string $toPublicId, array $options = [] ) : array |
Rename public ID. |
|
replaceTag ( string $tag, array $publicIds = [], array $options = [] ) |
Replace image's tag. |
|
resource ( string $publicId, array $options = [] ) : array |
Display a resource |
|
resources ( array $options = [] ) : array |
Show Resources |
|
resourcesByIds ( array $options = [] ) : array |
Show Resources by id |
|
resourcesByModeration ( string $kind, string $status, $options = [] ) : array |
Show Resources by moderation status |
|
resourcesByTag ( string $tag, $options = [] ) : array |
Show Resources by tag name |
|
restore ( array $publicIds = [], array $options = [] ) : null |
Restore a resource |
|
rootFolders ( array $options = [] ) : array |
List Root folders |
|
secureShow ( string $publicId, array $options = [] ) : string |
Display resource through https. |
|
show ( string $publicId, array $options = [] ) : string |
Display resource through https. |
|
showPrivateUrl ( string $publicId, string $format, array $options = [] ) : string |
Alias for privateDownloadUrl |
|
subfolders ( string $name, array $options = [] ) : array |
List subfolders |
|
tags ( array $options = [] ) : array |
Display tags list |
|
transformation ( string $transformation, array $options = [] ) : array |
List single transformation |
|
transformations ( array $options = [] ) : array |
List transformations |
|
update ( string $publicId, array $options = [] ) : array |
Updates a resource |
|
updateTransformation ( string $transformation, array $updates = [], array $options = [] ) : array |
Update single transformation |
|
updateUploadMapping ( string $name, array $options = [] ) : array |
Update upload mapping |
|
updateUploadPreset ( string $name, array $options = [] ) : array |
Update upload preset |
|
upload ( mixed $source, string $publicId = null, array $uploadOptions = [], array $tags = [] ) : CloudinaryWrapper |
Upload image to cloud. |
|
uploadMapping ( string $name, array $options = [] ) : array |
Get upload mapping |
|
uploadMappings ( array $options = [] ) : array |
List Upload Mappings |
|
uploadPreset ( string $name, array $options = [] ) : array |
Get upload mapping |
|
uploadPresets ( array $options = [] ) : array |
List Upload Presets |
|
uploadVideo ( mixed $source, string $publicId = null, array $uploadOptions = [], array $tags = [] ) : CloudinaryWrapper |
Upload video to cloud. |
|
usage ( array $options = [] ) : array |
Get usage details |
|