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 |
|---|---|---|---|---|---|---|---|---|
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/event-dispatcher/Debug/WrappedListener.php | vendor/symfony/event-dispatcher/Debug/WrappedListener.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\EventDispatcher\Debug;
use Psr\EventDispatcher\Stoppa... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php | vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\EventDispatcher\Debug;
use Psr\EventDispatcher\Stoppa... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/event-dispatcher/DependencyInjection/AddEventAliasesPass.php | vendor/symfony/event-dispatcher/DependencyInjection/AddEventAliasesPass.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\EventDispatcher\DependencyInjection;
use Symfony\Comp... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php | vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\EventDispatcher\DependencyInjection;
use Symfony\Comp... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/event-dispatcher/Attribute/AsEventListener.php | vendor/symfony/event-dispatcher/Attribute/AsEventListener.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\EventDispatcher\Attribute;
/**
* Service tag to auto... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Link.php | vendor/symfony/dom-crawler/Link.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
/**
* Link represents an HTML link (an H... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Image.php | vendor/symfony/dom-crawler/Image.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
/**
* Image represents an HTML image (an... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/AbstractUriElement.php | vendor/symfony/dom-crawler/AbstractUriElement.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
/**
* Any HTML element that can link to ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Crawler.php | vendor/symfony/dom-crawler/Crawler.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
use Masterminds\HTML5;
use Symfony\Compon... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | true |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Form.php | vendor/symfony/dom-crawler/Form.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
use Symfony\Component\DomCrawler\Field\Ch... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/FormFieldRegistry.php | vendor/symfony/dom-crawler/FormFieldRegistry.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler;
use Symfony\Component\DomCrawler\Field\Fo... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorExists.php | vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorExists.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Test\Constraint;
use PHPUnit\Framework\Con... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorTextSame.php | vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorTextSame.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Test\Constraint;
use PHPUnit\Framework\Con... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorAttributeValueSame.php | vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorAttributeValueSame.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Test\Constraint;
use PHPUnit\Framework\Con... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorTextContains.php | vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorTextContains.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Test\Constraint;
use PHPUnit\Framework\Con... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Field/FormField.php | vendor/symfony/dom-crawler/Field/FormField.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Field;
/**
* FormField is the abstract cl... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Field/FileFormField.php | vendor/symfony/dom-crawler/Field/FileFormField.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Field;
/**
* FileFormField represents a f... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Field/ChoiceFormField.php | vendor/symfony/dom-crawler/Field/ChoiceFormField.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Field;
/**
* ChoiceFormField represents a... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Field/InputFormField.php | vendor/symfony/dom-crawler/Field/InputFormField.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Field;
/**
* InputFormField represents an... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/dom-crawler/Field/TextareaFormField.php | vendor/symfony/dom-crawler/Field/TextareaFormField.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DomCrawler\Field;
/**
* TextareaFormField represents... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/polyfill-iconv/bootstrap.php | vendor/symfony/polyfill-iconv/bootstrap.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\Polyfill\Iconv as p;
if (extension_loaded('iconv')) {
return;
}
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/polyfill-iconv/Iconv.php | vendor/symfony/polyfill-iconv/Iconv.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Polyfill\Iconv;
/**
* iconv implementation in pure PHP, UTF-8 ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/polyfill-iconv/bootstrap80.php | vendor/symfony/polyfill-iconv/bootstrap80.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\Polyfill\Iconv as p;
if (!defined('ICONV_IMPL')) {
define('ICONV_... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/polyfill-iconv/Resources/charset/translit.php | vendor/symfony/polyfill-iconv/Resources/charset/translit.php | <?php
return array (
'µ' => 'μ',
'¼' => ' 1⁄4 ',
'½' => ' 1⁄2 ',
'¾' => ' 3⁄4 ',
'IJ' => 'IJ',
'ij' => 'ij',
'Ŀ' => 'L·',
'ŀ' => 'l·',
'ʼn' => 'ʼn',
'ſ' => 's',
'DŽ' => 'DŽ',
'Dž' => 'Dž',
'dž' => 'dž',
'LJ' => 'LJ',
'Lj' => 'Lj',
'lj' => 'lj',
'NJ' => 'NJ',
'Nj' => 'Nj',
'nj' => 'nj',
'DZ' ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | true |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/symfony/polyfill-iconv/Resources/charset/from.us-ascii.php | vendor/symfony/polyfill-iconv/Resources/charset/from.us-ascii.php | <?php
static $data = array (
' ' => ' ',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
' ' => ' ',
'
' => '
',
'' => '',
'' => '',
'
' => '
',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/autoload.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Etag.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Auth.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Zone.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/functions.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Config.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Http/Client.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/bootstrap.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/docs/rtc/example.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_copy.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/pfop_watermark.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/pulpvideo.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/pfop_mkzip.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_fetch.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_change_status.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_change_mime.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/saveas.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php | 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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rsf_list_bucket.php | vendor/qiniu/php-sdk/examples/rsf_list_bucket.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\BucketManager;
// http://developer.qiniu.com/docs/v6/api/reference/rs/list.html#list-description
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/qetag.php | vendor/qiniu/php-sdk/examples/qetag.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Etag;
$localFile = "/Users/jemy/Documents/qiniu.mp4";
list($etag, $err) = Etag::sum($localFile);
if ($err == null) {
echo "Etag: $etag";
} else {
var_dump($err);
}
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_and_pfop.php | vendor/qiniu/php-sdk/examples/upload_and_pfop.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\UploadManager;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth($accessKey, $secretKey);
// 在七牛保存的文件名
$key = 'php-logo.png';
$uploadMgr = new Up... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_download_urls.php | vendor/qiniu/php-sdk/examples/rs_download_urls.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
// 构建Auth对象
$auth = new Auth($accessKey, $secretKey);
// 私有空间中的外链 http://<domain>/<file_key>
$baseUrl = 'http://if-pri.qiniudn.com/qiniu.png?imageView2/1/h/500';
// 对链接进... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_tokens.php | vendor/qiniu/php-sdk/examples/upload_tokens.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状态
$auth = new Auth($accessKey, $secretKey);
// 简单上传凭证
$expires = 3600;
$policy = null;
$upToken = $auth->uploadToken(... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_delete_after_days.php | vendor/qiniu/php-sdk/examples/rs_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');
$key = 'qiniu.mp4';
$days = 10;
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rsf_list_files.php | vendor/qiniu/php-sdk/examples/rsf_list_files.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\BucketManager;
// http://developer.qiniu.com/docs/v6/api/reference/rs/list.html#list-description
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
$auth = new Auth... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/cdn_timestamp_antileech.php | vendor/qiniu/php-sdk/examples/cdn_timestamp_antileech.php | <?php
require_once __DIR__ . '/../autoload.php';
use \Qiniu\Cdn\CdnManager;
//创建时间戳防盗链
//时间戳防盗链密钥,后台获取
$encryptKey = 'your_domain_timestamp_antileech_encryptkey';
//带访问协议的域名
$url1 = 'http://phpsdk.qiniuts.com/24.jpg?avinfo';
$url2 = 'http://phpsdk.qiniuts.com/24.jpg';
//有效期时间(单位秒)
$durationInSeconds = 3600;
$sign... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_buckets.php | vendor/qiniu/php-sdk/examples/rs_buckets.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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/image_url_builder.php | vendor/qiniu/php-sdk/examples/image_url_builder.php | <?php
require_once __DIR__ . '/../autoload.php';
// 引入图片处理类
use Qiniu\Processing\ImageUrlBuilder;
$imageUrlBuilder = new ImageUrlBuilder();
// 要处理图片
$url = 'http://78re52.com1.z0.glb.clouddn.com/resource/gogopher.jpg';
$url2 = 'http://78re52.com1.z0.glb.clouddn.com/resource/gogopher.jpg?watermark/1/gravity/SouthEast... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_delete.php | vendor/qiniu/php-sdk/examples/rs_batch_delete.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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/persistent_fop_status.php | vendor/qiniu/php-sdk/examples/persistent_fop_status.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Processing\PersistentFop;
$pfop = new Qiniu\Processing\PersistentFop(null, null);
// 触发持久化处理后返回的 Id
$persistentId = 'z1.5b8a48e5856db843bc24cfc3';
// 通过persistentId查询该 触发持久化处理的状态
list($ret, $err) = $pfop->status($persistentId);
if ($err) {
print_r($err... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_mgr_init.php | vendor/qiniu/php-sdk/examples/upload_mgr_init.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\UploadManager;
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
$auth = new Auth($accessKey, $secretKey);
// 空间名 http://developer.qiniu.com/docs/v6/api/overview/concepts.html#bucket
$bucket = 'Bucket_Name';
// 生成上传Token
$token ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_and_callback.php | vendor/qiniu/php-sdk/examples/upload_and_callback.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Storage\UploadManager;
// use Qiniu\Config;
// use Qiniu\Zone;
// 指定zone上传
// $zone = Zone::zoneZ0(); //华东QVM内网上传指定host
// $config = new Config($zone);
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_delete.php | vendor/qiniu/php-sdk/examples/rs_delete.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_copy";
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Stor... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_verify_callback.php | vendor/qiniu/php-sdk/examples/upload_verify_callback.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);
//获取回调的body信息
$callbackBody = file_get_contents('php://input');
//回调的contentType
$conte... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/pfop_vframe.php | vendor/qiniu/php-sdk/examples/pfop_vframe.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 = 'qin... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/cdn_get_bandwidth.php | vendor/qiniu/php-sdk/examples/cdn_get_bandwidth.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);
$cdnManager = new CdnManager($auth);
//获取流量和带宽数据
//参考文档:http://developer.qiniu.com/article/fusion/api/traffic... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/cdn_get_flux.php | vendor/qiniu/php-sdk/examples/cdn_get_flux.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);
$cdnManager = new CdnManager($auth);
//获取流量和带宽数据
//参考文档:http://developer.qiniu.com/article/fusion/api/traffic... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_batch_stat.php | vendor/qiniu/php-sdk/examples/rs_batch_stat.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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_bucket_domains.php | vendor/qiniu/php-sdk/examples/rs_bucket_domains.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 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_prefetch.php | vendor/qiniu/php-sdk/examples/rs_prefetch.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";
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\B... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/upload_simple_file.php | vendor/qiniu/php-sdk/examples/upload_simple_file.php | <?php
require_once __DIR__ . '/../autoload.php';
// 引入鉴权类
use Qiniu\Auth;
// 引入上传类
use Qiniu\Storage\UploadManager;
// 需要填写你的 Access Key 和 Secret Key
$accessKey = getenv('QINIU_ACCESS_KEY');
$secretKey = getenv('QINIU_SECRET_KEY');
$bucket = getenv('QINIU_TEST_BUCKET');
// 构建鉴权对象
$auth = new Auth($accessKey, $secre... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_move.php | vendor/qiniu/php-sdk/examples/rs_move.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";
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\B... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/rs_change_type.php | vendor/qiniu/php-sdk/examples/rs_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');
$key = "qiniu.mp4";
$auth = new Auth($accessKey, $secretKey);
$config = new \Qiniu\Config();
$bucketManager = new \Qiniu\Storage\B... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/qiniu/php-sdk/examples/persistent_fop_init.php | vendor/qiniu/php-sdk/examples/persistent_fop_init.php | <?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
use Qiniu\Processing\PersistentFop;
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
$auth = new Auth($accessKey, $secretKey);
// 要转码的文件所在的空间。
$bucket = 'Bucket_Name';
// 转码是使用的队列名称。 https://portal.qiniu.com/mps/pipeline
$pipeline = 'pipeline_na... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.