2017 © Pedro Peláez
 

yii2-extension yii2-qiniu

yii2上传到七牛云存储

image

miuhr/yii2-qiniu

yii2上传到七牛云存储

  • Saturday, June 9, 2018
  • by haobing
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

yii2-qiniu

Latest Stable Version Total Downloads License, (*1)

================================= * @author crazyfd crazyfd@qq.com, (*2)

只是因为原作者没有发布正式版本,造成了在生产环境使用困难,所以fork一份自己发布成正式版, (*3)

file upload for Yii Framework 2, (*4)

php > 5.5, (*5)

How to install?, (*6)

To use this extension, you may insert the following code:

Get it via composer by adding the package to your composer.json:, (*7)

composer require miuhr/yii2-qiniu

Usage

<?php
$ak = 'sss';
$sk = 'sss';
$domain = 'http://demo.domain.com/';
$bucket = 'demo';
use crazyfd\qiniu\Qiniu;
$qiniu = new Qiniu($ak, $sk,$domain, $bucket);
$key = time();
$qiniu->uploadFile($_FILES['tmp_name'],$key);
$url = $qiniu->getLink($key);

The Versions

09/06 2018

dev-patch-1

dev-patch-1

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

10/04 2018

dev-master

9999999-dev

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

21/12 2017

0.1

0.1.0.0

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu