PHP code example of jrm2k6 / cloudder
1. Go to this page and download the library: Download jrm2k6/cloudder library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jrm2k6 / cloudder example snippets
'providers' => array(
JD\Cloudder\CloudderServiceProvider::class,
);
'aliases' => array(
'Cloudder' => JD\Cloudder\Facades\Cloudder::class,
);
Cloudder::upload($filename, $publicId, array $options, array $tags);
Cloudder::uploadVideo($filename, $publicId, array $options, array $tags);
Cloudder::getPublicId()
Cloudder::getResult()
Cloudder::show($publicId, array $options)
Cloudder::secureShow($publicId, array $options)
Cloudder::showPrivateUrl($publicId, $format, array $options)
Cloudder::rename($publicId, $toPublicId, array $options)
Cloudder::destroyImage($publicId, array $options)
Cloudder::delete($publicId, array $options)
Cloudder::destroyImages(array $publicIds, array $options)
Cloudder::addTag($tag, $publicIds, array $options)
Cloudder::removeTag($tag, $publicIds, array $options)
Cloudder::createArchive(array $options, $archiveName, $mode)
Cloudder::downloadArchiveUrl(array $options, $archiveName)