repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/HttpClient/CurlClient.php | src/HttpClient/CurlClient.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\HttpClient;
use Voronkovich\SberbankAcquiring\Exception\NetworkException;
/**
* Simple HTTP client using curl.
*
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class CurlClient implements HttpClientInterface
{
/**
* @var... | php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/Exception/ActionException.php | src/Exception/ActionException.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Exception;
/**
* Action exception.
*
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class ActionException extends SberbankAcquiringException
{
}
| php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/Exception/NetworkException.php | src/Exception/NetworkException.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Exception;
/**
* Network exception.
*
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class NetworkException extends SberbankAcquiringException
{
}
| php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/Exception/BadResponseException.php | src/Exception/BadResponseException.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Exception;
/**
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class BadResponseException extends SberbankAcquiringException
{
/**
* @var string
*/
private $response;
public function getResponse(): ?string
... | php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/Exception/SberbankAcquiringException.php | src/Exception/SberbankAcquiringException.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Exception;
/**
* Base exception.
*
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class SberbankAcquiringException extends \Exception
{
}
| php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/src/Exception/ResponseParsingException.php | src/Exception/ResponseParsingException.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Exception;
/**
* @author Oleg Voronkovich <oleg-voronkovich@yandex.ru>
*/
class ResponseParsingException extends SberbankAcquiringException
{
}
| php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
voronkovich/sberbank-acquiring-client | https://github.com/voronkovich/sberbank-acquiring-client/blob/5488b82c58451484519feebf9f52888f0e28f923/tests/ClientTest.php | tests/ClientTest.php | <?php
declare(strict_types=1);
namespace Voronkovich\SberbankAcquiring\Tests;
use PHPUnit\Framework\TestCase;
use Voronkovich\SberbankAcquiring\Client;
use Voronkovich\SberbankAcquiring\Currency;
use Voronkovich\SberbankAcquiring\Exception\ActionException;
use Voronkovich\SberbankAcquiring\Exception\BadResponseExcep... | php | MIT | 5488b82c58451484519feebf9f52888f0e28f923 | 2026-01-05T02:32:55.856790Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/GregwarImageBundle.php | GregwarImageBundle.php | <?php
namespace Gregwar\ImageBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GregwarImageBundle extends Bundle
{
}
| php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/ImageHandler.php | ImageHandler.php | <?php
namespace Gregwar\ImageBundle;
use Gregwar\Image\Image;
/**
* Image manipulation class.
*
* @author Gregwar <g.passault@gmail.com>
*/
class ImageHandler extends Image
{
protected $fileCallback = null;
/**
* @param null $originalFile
* @param null $width
* @param null $height
* ... | php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/Services/ImageHandling.php | Services/ImageHandling.php | <?php
namespace Gregwar\ImageBundle\Services;
use Gregwar\ImageBundle\ImageHandler;
use Symfony\Component\Config\FileLocatorInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Asset\Packages;
use Symfony\Component\HttpKernel\KernelInterface;
/**
* Image manipulation servic... | php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/DependencyInjection/Configuration.php | DependencyInjection/Configuration.php | <?php
/**
* @Author: Michał Kurzeja, Accesto
* User: michal
* Date: 24.09.13
* Time: 10:18
*/
namespace Gregwar\ImageBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\HttpKernel\Kernel;
c... | php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/DependencyInjection/GregwarImageExtension.php | DependencyInjection/GregwarImageExtension.php | <?php
namespace Gregwar\ImageBundle\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
/**
* Loading configuration.... | php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
Gregwar/ImageBundle | https://github.com/Gregwar/ImageBundle/blob/454d9bf53204f4cdba650c6ec59232205304d2f8/Extensions/ImageTwig.php | Extensions/ImageTwig.php | <?php
namespace Gregwar\ImageBundle\Extensions;
use Gregwar\ImageBundle\Services\ImageHandling;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;
/**
* ImageTwig extension.
*
* @author Gregwar <g.passault@gmail.com>
* @author bzikarsky <benjamin.zikarsky@perbility.de>
*/
class ImageTwig extends Abstr... | php | MIT | 454d9bf53204f4cdba650c6ec59232205304d2f8 | 2026-01-05T02:33:09.730642Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Plugin.php | src/Plugin.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage;
use Cake\Core\BasePlugin;
/**
* FileStorage Plugin for CakePHP
*/
class Plugin extends BasePlugin
{
}
| php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Model/Entity/FileStorageEntityInterface.php | src/Model/Entity/FileStorageEntityInterface.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Model\Entity;
use Cake\Datasource\EntityInterface;
/**
* FileStorage Entity.
*
* @author Florian Krämer
* @copyright 2012 - 2020 Florian Krämer
* @license MIT
*/
interface FileStorageEntityInterface extends EntityInterface
{
/**
* @param s... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Model/Entity/FileStorage.php | src/Model/Entity/FileStorage.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Model\Entity;
use Cake\ORM\Entity;
/**
* FileStorage Entity.
*
* @author Florian Krämer
* @copyright 2012 - 2020 Florian Krämer
* @license MIT
*/
class FileStorage extends Entity implements FileStorageEntityInterface
{
/**
* Fields that ca... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Model/Table/FileStorageTable.php | src/Model/Table/FileStorageTable.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Model\Table;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchemaInterface;
use Cake\ORM\Table;
/**
* FileStorageTable
*
* Records in this table act as a reference to the real location of the stored
* file data. All information of a row can ... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Model/Behavior/FileStorageBehavior.php | src/Model/Behavior/FileStorageBehavior.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Model\Behavior;
use ArrayObject;
use Burzum\FileStorage\FileStorage\DataTransformer;
use Burzum\FileStorage\FileStorage\DataTransformerInterface;
use Cake\Core\Configure;
use Cake\Datasource\EntityInterface;
use Cake\Event\EventDispatcherTrait;
use Cake\E... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Shell/ImageVersionShell.php | src/Shell/ImageVersionShell.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Shell;
use Cake\Console\ConsoleOptionParser;
use Cake\Console\Shell;
use Cake\Core\Configure;
use Cake\Datasource\ResultSetInterface;
use Cake\Event\Event;
use Cake\Event\EventManager;
use Cake\ORM\TableRegistry;
use Exception;
/**
* ImageShell
*
* @a... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Shell/StorageShell.php | src/Shell/StorageShell.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Shell;
use Burzum\FileStorage\Utility\StorageUtils;
use Cake\Console\ConsoleOptionParser;
use Cake\Console\Shell;
use Cake\Core\Configure;
/**
* Class StorageShell
*
* @property \Burzum\FileStorage\Shell\Task\ImageTask $Image
*/
class StorageShell ex... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Shell/Task/ImageTask.php | src/Shell/Task/ImageTask.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Shell\Task;
use Cake\Console\ConsoleOptionParser;
use Cake\Console\Shell;
use Cake\Datasource\ResultSetInterface;
use Cake\Event\Event;
use Cake\Event\EventDispatcherTrait;
use Cake\Event\EventManager;
use Cake\ORM\Query;
use Cake\ORM\TableRegistry;
use P... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/Utility/StorageUtils.php | src/Utility/StorageUtils.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Utility;
use Laminas\Diactoros\UploadedFile;
use Psr\Http\Message\UploadedFileInterface;
class StorageUtils
{
/**
* @param string $filename
* @param string|null $mimeType
*
* @return \Psr\Http\Message\UploadedFileInterface
*/... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/FileStorage/DataTransformerInterface.php | src/FileStorage/DataTransformerInterface.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\FileStorage;
use Cake\Datasource\EntityInterface;
use Phauthentic\Infrastructure\Storage\FileInterface;
interface DataTransformerInterface
{
/**
* @param \Cake\Datasource\EntityInterface $entity
*
* @return \Phauthentic\Infrastructure\... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/FileStorage/DataTransformer.php | src/FileStorage/DataTransformer.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\FileStorage;
use Cake\Datasource\EntityInterface;
use Cake\ORM\Table;
use Phauthentic\Infrastructure\Storage\File;
use Phauthentic\Infrastructure\Storage\FileInterface;
/**
* Converts the Cake Entity to a File Storage Object and vice versa
*/
class Dat... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/src/View/Helper/ImageHelper.php | src/View/Helper/ImageHelper.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\View\Helper;
use Burzum\FileStorage\Model\Entity\FileStorageEntityInterface;
use Cake\View\Helper;
use Phauthentic\Infrastructure\Storage\Processor\Exception\VariantDoesNotExistException;
/**
* ImageHelper
*
* @author Florian Krämer
* @copyright 2012... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/bootstrap.php | tests/bootstrap.php | <?php
declare(strict_types = 1);
/**
* Bootstrap
*/
use Cake\Core\Plugin;
$findRoot = function ($root) {
do {
$lastRoot = $root;
$root = dirname($root);
if (is_dir($root . '/vendor/cakephp/cakephp')) {
return $root;
}
} while ($root !== $lastRoot);
throw ne... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/Fixture/ItemFixture.php | tests/Fixture/ItemFixture.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
class ItemFixture extends TestFixture
{
/**
* Name
*
* @var string
*/
public $name = 'Item';
/**
* Table
*
* @var string
*/
public $table = 'it... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/Fixture/FileStorageFixture.php | tests/Fixture/FileStorageFixture.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
class FileStorageFixture extends TestFixture
{
/**
* Model name
*
* @var string
*/
public $name = 'FileStorage';
/**
* Table name
*
* @var string
*... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/FileStorageTestTable.php | tests/TestCase/FileStorageTestTable.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase;
use Burzum\FileStorage\Model\Entity\FileStorage;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchemaInterface;
use Cake\ORM\Table;
/**
* FileStorageTestTable
*/
class FileStorageTestTable extends Table
{
/**
* @inherit... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/FileStorageTestCase.php | tests/TestCase/FileStorageTestCase.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase;
use Cake\Core\Configure;
use Cake\Core\Plugin;
use Cake\Filesystem\Folder;
use Cake\ORM\Locator\LocatorAwareTrait;
use Cake\TestSuite\TestCase;
use Intervention\Image\ImageManager;
use Phauthentic\Infrastructure\Storage\Factories\LocalFacto... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/Model/Entity/FileStorageTest.php | tests/TestCase/Model/Entity/FileStorageTest.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase\Model\Entity;
use Burzum\FileStorage\Model\Entity\FileStorage;
use Burzum\FileStorage\Test\TestCase\FileStorageTestCase;
/**
* File Storage Entity Test
*
* @author Florian Kr�mer
* @copyright 2012 - 2017 Florian Kr�mer
* @license MIT
... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/Model/Table/FileStorageTableTest.php | tests/TestCase/Model/Table/FileStorageTableTest.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase\Model\Table;
use Burzum\FileStorage\Test\TestCase\FileStorageTestCase;
use Laminas\Diactoros\UploadedFile;
/**
* File Storage Test
*
* @author Florian Krämer
* @copyright 2012 - 2020 Florian Krämer
* @license MIT
*/
class FileStorageT... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/Model/Behavior/FileStorageBehaviorTest.php | tests/TestCase/Model/Behavior/FileStorageBehaviorTest.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase\Model\Behavior;
use ArrayObject;
use Burzum\FileStorage\Test\TestCase\FileStorageTestCase;
use Burzum\FileStorage\Test\TestCase\FileStorageTestTable;
use Cake\Core\Configure;
use Cake\Core\Plugin;
use Cake\Event\Event;
use Laminas\Diactoros\... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/tests/TestCase/View/Helper/ImageHelperTest.php | tests/TestCase/View/Helper/ImageHelperTest.php | <?php
declare(strict_types = 1);
namespace Burzum\FileStorage\Test\TestCase\View\Helper;
use Burzum\FileStorage\Test\TestCase\FileStorageTestCase;
use Burzum\FileStorage\View\Helper\ImageHelper;
use Cake\Core\Configure;
use Cake\Http\ServerRequest as Request;
use Cake\View\Helper\HtmlHelper;
use Cake\View\View;
use ... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/config/routes.php | config/routes.php | <?php
use Cake\Routing\Router;
Router::plugin('Burzum/FileStorage', function($routes) {
$routes->fallbacks();
}); | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/config/Migrations/20200714095531_AddingVariantsAndMetadataFields.php | config/Migrations/20200714095531_AddingVariantsAndMetadataFields.php | <?php
use Migrations\AbstractMigration;
/**
* AddingVariantsAndMetadataFields
*/
class AddingVariantsAndMetadataFields extends AbstractMigration
{
/**
* Change Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
*
* @ret... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/config/Migrations/20170222133412_updating_length_of_file_extension_field.php | config/Migrations/20170222133412_updating_length_of_file_extension_field.php | <?php
use Migrations\AbstractMigration;
/**
* https://github.com/burzum/cakephp-file-storage/issues/126
* http://stackoverflow.com/questions/643690/maximum-mimetype-length-when-storing-type-in-db
*
* According to RFC 4288 "Media Type Specifications and Registration Procedures",
* type (eg. "application") and sub... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/config/Migrations/20141213004653_initial_migration.php | config/Migrations/20141213004653_initial_migration.php | <?php
use Migrations\AbstractMigration;
class InitialMigration extends AbstractMigration {
/**
* Migrate Up.
*/
public function up() {
$this->table('file_storage', ['id' => false, 'primary_key' => 'id'])
->addColumn('id', 'char', ['limit' => 36])
->addColumn('user_id', 'char', ['limit' => 36, 'null' => tru... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
burzum/cakephp-file-storage | https://github.com/burzum/cakephp-file-storage/blob/dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f/config/Migrations/20160302083933_fixing_mime_type_field.php | config/Migrations/20160302083933_fixing_mime_type_field.php | <?php
use Migrations\AbstractMigration;
/**
* https://github.com/burzum/cakephp-file-storage/issues/126
* http://stackoverflow.com/questions/643690/maximum-mimetype-length-when-storing-type-in-db
*
* According to RFC 4288 "Media Type Specifications and Registration Procedures",
* type (eg. "application") and sub... | php | MIT | dec9ab1241e3ab36ec55c834ba6cfe9361b3b88f | 2026-01-05T02:33:17.819727Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/autoload.php | source/vendor/autoload.php | <?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit34a41e2841af1a67f3ddef099fc7b348::getLoader();
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/topthink/think-installer/src/Plugin.php | source/vendor/topthink/think-installer/src/Plugin.php | <?php
namespace think\composer;
use Composer\Composer;
use Composer\Installer;
use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
class Plugin implements PluginInterface
{
public function activate(Composer $composer, IOInterface $io)
{
$manager = $composer->getInstallationManager();
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/topthink/think-installer/src/ThinkTesting.php | source/vendor/topthink/think-installer/src/ThinkTesting.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2015 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/topthink/think-installer/src/ThinkFramework.php | source/vendor/topthink/think-installer/src/ThinkFramework.php | <?php
namespace think\composer;
use Composer\Installer\LibraryInstaller;
use Composer\Package\PackageInterface;
use Composer\Repository\InstalledRepositoryInterface;
class ThinkFramework extends LibraryInstaller
{
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
{
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/topthink/think-installer/src/ThinkExtend.php | source/vendor/topthink/think-installer/src/ThinkExtend.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2015 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_files.php | source/vendor/composer/autoload_files.php | <?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'841780ea2e1d6545ea3a253239d59c05' => $vendorDir . '/qiniu/php-sdk/src/Qiniu/functions.php',
);
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_real.php | source/vendor/composer/autoload_real.php | <?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit34a41e2841af1a67f3ddef099fc7b348
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_namespaces.php | source/vendor/composer/autoload_namespaces.php | <?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_psr4.php | source/vendor/composer/autoload_psr4.php | <?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'think\\composer\\' => array($vendorDir . '/topthink/think-installer/src'),
'think\\' => array($baseDir . '/thinkphp/library/think'),
'app\\' => array($baseDir . '/appl... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_static.php | source/vendor/composer/autoload_static.php | <?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit34a41e2841af1a67f3ddef099fc7b348
{
public static $files = array (
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
);
public static $prefixLen... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/ClassLoader.php | source/vendor/composer/ClassLoader.php | <?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader im... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/composer/autoload_classmap.php | source/vendor/composer/autoload_classmap.php | <?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/autoload.php | source/vendor/qiniu/php-sdk/autoload.php | <?php
function classLoader($class)
{
$path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
$file = __DIR__ . '/src/' . $path . '.php';
if (file_exists($file)) {
require_once $file;
}
}
spl_autoload_register('classLoader');
require_once __DIR__ . '/src/Qiniu/functions.php';
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Etag.php | source/vendor/qiniu/php-sdk/src/Qiniu/Etag.php | <?php
namespace Qiniu;
use Qiniu\Config;
final class Etag
{
private static function packArray($v, $a)
{
return call_user_func_array('pack', array_merge(array($v), (array)$a));
}
private static function blockCount($fsize)
{
return intval(($fsize + (Config::BLOCK_SIZE - 1)) / Confi... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Auth.php | source/vendor/qiniu/php-sdk/src/Qiniu/Auth.php | <?php
namespace Qiniu;
use Qiniu\Zone;
final class Auth
{
private $accessKey;
private $secretKey;
public function __construct($accessKey, $secretKey)
{
$this->accessKey = $accessKey;
$this->secretKey = $secretKey;
}
public function getAccessKey()
{
return $this->a... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Zone.php | source/vendor/qiniu/php-sdk/src/Qiniu/Zone.php | <?php
namespace Qiniu;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
final class Zone
{
//源站上传域名
public $srcUpHosts;
//CDN加速上传域名
public $cdnUpHosts;
//资源管理域名
public $rsHost;
//资源列举域名
public $rsfHost;
//资源处理域名
public $apiHost;
//IOVIP域名
public $iovipHost;
//构造一个Zone... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/functions.php | source/vendor/qiniu/php-sdk/src/Qiniu/functions.php | <?php
namespace Qiniu;
use Qiniu\Config;
if (!defined('QINIU_FUNCTIONS_VERSION')) {
define('QINIU_FUNCTIONS_VERSION', Config::SDK_VER);
/**
* 计算文件的crc32检验码:
*
* @param $file string 待计算校验码的文件路径
*
* @return string 文件内容的crc32校验码
*/
function crc32_file($file)
{
$ha... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Config.php | source/vendor/qiniu/php-sdk/src/Qiniu/Config.php | <?php
namespace Qiniu;
final class Config
{
const SDK_VER = '7.2.7';
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
const RSF_HOST = 'rsf.qiniu.com';
const API_HOST = 'api.qiniu.com';
const RS_HOST = 'rs.qiniu.com'; //RS Host
const UC_HOST = 'https://api.qiniu.com'; ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Http/Client.php | source/vendor/qiniu/php-sdk/src/Qiniu/Http/Client.php | <?php
namespace Qiniu\Http;
use Qiniu\Config;
use Qiniu\Http\Request;
use Qiniu\Http\Response;
final class Client
{
public static function get($url, array $headers = array())
{
$request = new Request('GET', $url, $headers);
return self::sendRequest($request);
}
public static function ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php | source/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php | <?php
namespace Qiniu\Http;
final class Request
{
public $url;
public $headers;
public $body;
public $method;
public function __construct($method, $url, array $headers = array(), $body = null)
{
$this->method = strtoupper($method);
$this->url = $url;
$this->headers = $h... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php | source/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php | <?php
namespace Qiniu\Http;
/**
* HTTP response Object
*/
final class Response
{
public $statusCode;
public $headers;
public $body;
public $error;
private $jsonData;
public $duration;
/** @var array Mapping of status codes to reason phrases */
private static $statusTexts = array(
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php | source/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php | <?php
namespace Qiniu\Http;
/**
* 七牛业务请求逻辑错误封装类,主要用来解析API请求返回如下的内容:
* <pre>
* {"error" : "detailed error message"}
* </pre>
*/
final class Error
{
private $url;
private $response;
public function __construct($url, $response)
{
$this->url = $url;
$this->response = $response;
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php | source/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php | <?php
namespace Qiniu\Cdn;
use Qiniu\Auth;
use Qiniu\Http\Error;
use Qiniu\Http\Client;
final class CdnManager
{
private $auth;
private $server;
public function __construct(Auth $auth)
{
$this->auth = $auth;
$this->server = 'http://fusion.qiniuapi.com';
}
/**
* @param ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php | source/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php | <?php
namespace Qiniu\Processing;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
final class Operation
{
private $auth;
private $token_expire;
private $domain;
public function __construct($domain, $auth = null, $token_expire = 3600)
{
$this->auth = $auth;
$this->domain = $domain;
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php | source/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php | <?php
namespace Qiniu\Processing;
use Qiniu\Config;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
use Qiniu\Processing\Operation;
/**
* 持久化处理类,该类用于主动触发异步持久化操作.
*
* @link http://developer.qiniu.com/docs/v6/api/reference/fop/pfop/pfop.html
*/
final class PersistentFop
{
/**
* @var 账号管理密钥对,Auth对象
*/
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php | source/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php | <?php
namespace Qiniu\Processing;
use Qiniu;
/**
* 主要涉及图片链接拼接
*
* @link http://developer.qiniu.com/code/v6/api/kodo-api/image/imageview2.html
*/
final class ImageUrlBuilder
{
/**
* mode合法范围值
*
* @var array
*/
protected $modeArr = array(0, 1, 2, 3, 4, 5);
/**
* format合法值
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php | source/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php | <?php
namespace Qiniu\Storage;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
final class FormUploader
{
/**
* 上传二进制流到七牛, 内部使用
*
* @param $upToken 上传凭证
* @param $key 上传文件名
* @param $data 上传二进制流
* @param $config 上传配置
* @param $params 自定义变量,规格参考
* ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php | source/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php | <?php
namespace Qiniu\Storage;
use Qiniu\Auth;
use Qiniu\Config;
use Qiniu\Zone;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
/**
* 主要涉及了空间资源管理及批量操作接口的实现,具体的接口规格可以参考
*
* @link https://developer.qiniu.com/kodo/api/1274/rs
*/
final class BucketManager
{
private $auth;
private $config;
public function _... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php | source/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php | <?php
namespace Qiniu\Storage;
use Qiniu\Config;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
/**
* 断点续上传类, 该类主要实现了断点续上传中的分块上传,
* 以及相应地创建块和创建文件过程.
*
* @link http://developer.qiniu.com/docs/v6/api/reference/up/mkblk.html
* @link http://developer.qiniu.com/docs/v6/api/reference/up/mkfile.html
*/
final class Resum... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | source/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | <?php
namespace Qiniu\Storage;
use Qiniu\Config;
use Qiniu\Http\HttpClient;
use Qiniu\Storage\ResumeUploader;
use Qiniu\Storage\FormUploader;
/**
* 主要涉及了资源上传接口的实现
*
* @link http://developer.qiniu.com/docs/v6/api/reference/up/
*/
final class UploadManager
{
private $config;
public function __construct(Con... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php | source/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php | <?php
namespace Qiniu\Storage;
use Qiniu\Auth;
use Qiniu\Config;
use Qiniu\Zone;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
/**
* 主要涉及了鉴黄接口的实现,具体的接口规格可以参考
*
* @link https://developer.qiniu.com/dora/manual/3674/kodo-product-introduction
*/
final class ArgusManager
{
private $auth;
private $config;
p... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php | source/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php | <?php
namespace Qiniu\Rtc;
use Qiniu\Http\Client;
use Qiniu\Http\Error;
use Qiniu\Config;
use Qiniu\Auth;
class AppClient
{
private $auth;
private $baseURL;
public function __construct(Auth $auth)
{
$this->auth = $auth;
$this->baseURL = sprintf("%s/%s/apps", Config::RTCAPI_HOST, Conf... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/bootstrap.php | source/vendor/qiniu/php-sdk/tests/bootstrap.php | <?php
// @codingStandardsIgnoreFile
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$testAuth = new Auth($accessKey, $secretKey);
$bucketName = 'phpsdk';
$key = 'php-logo.png';
$key2 = 'niu.jpg';
$bucketNameBC = 'phpsdk-bc'... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php | <?php
namespace Qiniu\Tests;
/**
* imageprocess test
*
* @package Qiniu
* @subpackage test
* @author Sherlock Ren <sherlock_ren@icloud.com>
*/
class ImageUrlBuilderTest extends \PHPUnit_Framework_TestCase
{
/**
* 缩略图测试
*
* @test
* @return void
* @author Sherlock Ren <sherlock_ren@ic... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php | <?php
namespace Qiniu\Tests;
use Qiniu;
class Crc32Test extends \PHPUnit_Framework_TestCase
{
public function testData()
{
$a = '你好';
$b = \Qiniu\crc32_data($a);
$this->assertEquals('1352841281', $b);
}
public function testFile()
{
$b = \Qiniu\crc32_file(__file__);... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Processing\Operation;
use Qiniu\Processing\PersistentFop;
class FopTest extends \PHPUnit_Framework_TestCase
{
public function testExifPub()
{
$fop = new Operation('testres.qiniudn.com');
list($exif, $error) = $fop->execute('gogopher.jpg', 'exif');
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Storage\BucketManager;
class BucketTest extends \PHPUnit_Framework_TestCase
{
protected $bucketManager;
protected $dummyBucketManager;
protected $bucketName;
protected $key;
protected $key2;
protected function setUp()
{
global $bucketName;
... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Http\Client;
class HttpTest extends \PHPUnit_Framework_TestCase
{
public function testGet()
{
$response = Client::get('baidu.com');
$this->assertEquals($response->statusCode, 200);
$this->assertNotNull($response->body);
$this->assertNull($... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Etag;
class EtagTest extends \PHPUnit_Framework_TestCase
{
public function test0M()
{
$file = qiniuTempFile(0);
list($r, $error) = Etag::sum($file);
unlink($file);
$this->assertEquals('Fto5o-5ea0sNMlW_75VgGJCv2AcJ', $r);
$this->ass... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php | <?php
namespace Qiniu\Tests;
use Qiniu;
class Base64Test extends \PHPUnit_Framework_TestCase
{
public function testUrlSafe()
{
$a = '你好';
$b = \Qiniu\base64_urlSafeEncode($a);
$this->assertEquals($a, \Qiniu\base64_urlSafeDecode($b));
}
}
| php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php | <?php
namespace Qiniu\Tests;
use Qiniu;
use Qiniu\Zone;
class ZoneTest extends \PHPUnit_Framework_TestCase
{
protected $zone;
protected $zoneHttps;
protected $ak;
protected $bucketName;
protected $bucketNameBC;
protected $bucketNameNA;
protected function setUp()
{
global $bu... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php | <?php
/**
* Created by IntelliJ IDEA.
* User: wf
* Date: 2017/6/21
* Time: AM8:46
*/
namespace Qiniu\Tests;
use Qiniu\Cdn\CdnManager;
use Qiniu\Http\Client;
class CdnManagerTest extends \PHPUnit_Framework_TestCase
{
protected $cdnManager;
protected $encryptKey;
protected $imgUrl;
protected func... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Http\Client;
class DownloadTest extends \PHPUnit_Framework_TestCase
{
public function test()
{
global $testAuth;
$base_url = 'http://private-res.qiniudn.com/gogopher.jpg';
$private_url = $testAuth->privateDownloadUrl($base_url);
$response ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Processing\Operation;
use Qiniu\Processing\PersistentFop;
class PfopTest extends \PHPUnit_Framework_TestCase
{
public function testPfop()
{
global $testAuth;
$bucket = 'testres';
$key = 'sintel_trailer.mp4';
$pfop = new PersistentFop($test... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Storage\FormUploader;
use Qiniu\Storage\UploadManager;
use Qiniu\Config;
class FormUpTest extends \PHPUnit_Framework_TestCase
{
protected $bucketName;
protected $auth;
protected $cfg;
protected function setUp()
{
global $bucketName;
$this->bu... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php | <?php
namespace Qiniu\Tests;
use Qiniu\Storage\ResumeUploader;
use Qiniu\Storage\UploadManager;
use Qiniu\Config;
use Qiniu\Zone;
class ResumeUpTest extends \PHPUnit_Framework_TestCase
{
protected $bucketName;
protected $auth;
protected function setUp()
{
global $bucketName;
$this->bu... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php | source/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php | <?php
// Hack to override the time returned from the S3SignatureV4
// @codingStandardsIgnoreStart
namespace Qiniu {
function time()
{
return isset($_SERVER['override_qiniu_auth_time'])
? 1234567890
: \time();
}
}
namespace Qiniu\Tests {
use Qiniu\Auth;
// @codingSta... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/docs/rtc/example.php | source/vendor/qiniu/php-sdk/docs/rtc/example.php | <?php
require_once("../../autoload.php");
use \Qiniu\Auth;
$ak = 'gwd_gV4gPKZZsmEOvAuNU1AcumicmuHooTfu64q5';
$sk = 'xxxx';
$auth = new Auth($ak, $sk);
$client = new Qiniu\Rtc\AppClient($auth);
$hub = 'lfxlive';
$title = 'lfxl';
try {
//创建app
$resp = $client->createApp($hub, $title, $maxUsers);
print_r($r... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_batch_copy.php | source/vendor/qiniu/php-sdk/examples/rs_batch_copy.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\BucketManager($auth,... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/pfop_watermark.php | source/vendor/qiniu/php-sdk/examples/pfop_watermark.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Processing\PersistentFop;
//对已经上传到七牛的视频发起异步转码操作
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
//要转码的文件所在的空间和文件名。
$key = 'q... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/pulpvideo.php | source/vendor/qiniu/php-sdk/examples/pulpvideo.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Http\Client;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$argusManager = new \Qiniu\Storage\ArgusManager($auth, $config);
$reqBody... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/pfop_mkzip.php | source/vendor/qiniu/php-sdk/examples/pfop_mkzip.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Processing\PersistentFop;
// 去我们的portal 后台来获取AK, SK
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$key = 'qiniu.png';
$auth = new Auth($accessKey, $secretKey);
// 异步任务... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_fetch.php | source/vendor/qiniu/php-sdk/examples/rs_fetch.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\BucketManager;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
$bucketManager = new BucketManager($auth);
$url = 'http... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php | source/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Processing\PersistentFop;
//对已经上传到七牛的视频发起异步转码操作
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
//要转码的文件所在的空间和文件名。
$key = 'qi... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_change_status.php | source/vendor/qiniu/php-sdk/examples/rs_change_status.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$key = "qiniu.jpg";
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\B... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_change_mime.php | source/vendor/qiniu/php-sdk/examples/rs_change_mime.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$key = 'qiniu.mp4';
$newMime = 'video/x-mp4';
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketMan... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php | source/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Cdn\CdnManager;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$auth = new Qiniu\Auth($accessKey, $secretKey);
//待刷新的文件列表和目录,文件列表最多一次100个,目录最多一次10个
//参考文档:http://developer.qiniu.com/article/fusion/api/refresh.html
$urls ... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/saveas.php | source/vendor/qiniu/php-sdk/examples/saveas.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Processing\PersistentFop;
// 后台来获取AK, SK
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
//生成EncodedEntryURI的值
$entry = '<bucket>:<Key>';//<Key>为生成缩略图的文件名
//生成的值
$encodedEntryURI = \Qiniu\base64_urlSafeEncode($entry);
//使用SecretKey对新的下... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php | source/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\BucketManager($auth,... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php | source/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\BucketManager($auth,... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
yiovo/yoshop | https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php | source/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\BucketManager($auth,... | php | Apache-2.0 | a000ef567e95d58e2af1f991a0e32de661ff8736 | 2026-01-05T02:33:43.520669Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.