2017 © Pedro Peláez
 

yii2-extension yii2-qiniu

yii2上传到七牛云存储

image

crazyfd/yii2-qiniu

yii2上传到七牛云存储

  • Wednesday, January 3, 2018
  • by crazyfd
  • Repository
  • 4 Watchers
  • 36 Stars
  • 3,194 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 20 Forks
  • 3 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

文件上传到七牛

file upload for qiniu, (*1)

最近会调整版本, (*2)

{
  "require": {
    "crazyfd/yii2-qiniu": "*"
  }
}

```php composer install, (*3)


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

The Versions

03/01 2018

dev-master

9999999-dev

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

03/01 2018

1.0.4

1.0.4.0

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

03/01 2018

1.0.3

1.0.3.0

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

03/01 2018

1.03

1.03.0.0

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu

02/01 2018

v1.0.2

1.0.2.0

yii2上传到七牛云存储

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii qiniu