PHPackages                             sunkeyys/qiniu-laravel-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. sunkeyys/qiniu-laravel-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

sunkeyys/qiniu-laravel-storage
==============================

Custom Qiniu Resource (Cloud) Storage SDK for Laravel 5/6/7/8/9

v9.0.4(4y ago)012MITPHPPHP &gt;=5.3.3

Since Jun 27Pushed 4y agoCompare

[ Source](https://github.com/SunKeyss/qiniu-laravel-storage)[ Packagist](https://packagist.org/packages/sunkeyys/qiniu-laravel-storage)[ RSS](/packages/sunkeyys-qiniu-laravel-storage/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (44)Used By (0)

说明
==

[](#说明)

由于业务需要，基于 zgldh/qiniu-laravel-storage:0.10.3 进行了简单二次开发。 修复了在本地测试环境中读取filesystems.php中的七牛云配置异常的问题

业务场景：使用laravel-admin整合ueditor，并且配置七牛云的需要，该包仅是面向特定业务需求改写的包

环境：

- php7.4
- laravel6
- qiniu/php-sdk： "^7.4"
- codingyu/ueditor: "^3.0"

---

Qiniu 云储存 Laravel 5/6/7/8/9 Storage版
====================================

[](#qiniu-云储存-laravel-56789-storage版)

基于  开发

符合Laravel 5/6/7/8/9 的Storage用法。

注意
--

[](#注意)

 从七牛获取到的`putTime`时间戳，是以 100纳秒 为单位的。

参考

 PHP 可以用 [Carbon](http://carbon.nesbot.com/docs/) `Carbon::createFromTimestampMs($putTime/10000)` 来保证最大精度

JavaScript 可以用 [moment](http://momentjs.cn/docs/#/parsing/unix-offset/) `moment(putTime/10000)` 来保证最大精度

安装
--

[](#安装)

- `composer require sunkeyys/qiniu-laravel-storage`
- `config/app.php` 里面的 `providers` 数组， 加上一行 `sunkeyys\QiniuStorage\QiniuFilesystemServiceProvider::class`
- config/filesystem.php`里面的`disks```数组加上：……（不用管了）
- 在.env中添加

```
QINIU_DOMAIN=xxx.xxx.xxx.xxx.clouddn.com（不用加http://）
QINIU_ACCESS_KEY=xxx
QINIU_SECRET_KEY=xxx
QINIU_BUCKET=空间名称
```

- 完成

官方SDK / 手册
----------

[](#官方sdk--手册)

-
-

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Recently: every ~12 days

Total

42

Last Release

1541d ago

Major Versions

v0.10.4 → v9.0.02022-02-17

PHP version history (2 changes)0.1PHP &gt;=5.3.3

v0.11.2PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed43404ba630f6a8737df1aad196c70a894bbe011b3e59edc7b1fe616f8b264e?d=identicon)[sunkeyys](/maintainers/sunkeyys)

---

Top Contributors

[![longbai](https://avatars.githubusercontent.com/u/1204301?v=4)](https://github.com/longbai "longbai (86 commits)")[![zgldh](https://avatars.githubusercontent.com/u/312404?v=4)](https://github.com/zgldh "zgldh (78 commits)")[![rwifeng](https://avatars.githubusercontent.com/u/1814146?v=4)](https://github.com/rwifeng "rwifeng (72 commits)")[![xushiwei](https://avatars.githubusercontent.com/u/396972?v=4)](https://github.com/xushiwei "xushiwei (67 commits)")[![dtynn](https://avatars.githubusercontent.com/u/1426666?v=4)](https://github.com/dtynn "dtynn (37 commits)")[![longshanksmo](https://avatars.githubusercontent.com/u/2968746?v=4)](https://github.com/longshanksmo "longshanksmo (17 commits)")[![abcsun](https://avatars.githubusercontent.com/u/1784061?v=4)](https://github.com/abcsun "abcsun (4 commits)")[![django-wong](https://avatars.githubusercontent.com/u/4019240?v=4)](https://github.com/django-wong "django-wong (4 commits)")[![callmez](https://avatars.githubusercontent.com/u/1625891?v=4)](https://github.com/callmez "callmez (3 commits)")[![5-say](https://avatars.githubusercontent.com/u/6258835?v=4)](https://github.com/5-say "5-say (2 commits)")[![branchzero](https://avatars.githubusercontent.com/u/7685609?v=4)](https://github.com/branchzero "branchzero (2 commits)")[![hantuo](https://avatars.githubusercontent.com/u/873728?v=4)](https://github.com/hantuo "hantuo (2 commits)")[![peichao01](https://avatars.githubusercontent.com/u/844740?v=4)](https://github.com/peichao01 "peichao01 (2 commits)")[![marlonfan](https://avatars.githubusercontent.com/u/9349370?v=4)](https://github.com/marlonfan "marlonfan (1 commits)")[![milkmeowo](https://avatars.githubusercontent.com/u/22437128?v=4)](https://github.com/milkmeowo "milkmeowo (1 commits)")[![mingyoung](https://avatars.githubusercontent.com/u/6228858?v=4)](https://github.com/mingyoung "mingyoung (1 commits)")[![motian](https://avatars.githubusercontent.com/u/2382215?v=4)](https://github.com/motian "motian (1 commits)")[![BluntBlade](https://avatars.githubusercontent.com/u/1274124?v=4)](https://github.com/BluntBlade "BluntBlade (1 commits)")[![helloEson](https://avatars.githubusercontent.com/u/4487220?v=4)](https://github.com/helloEson "helloEson (1 commits)")[![terranc](https://avatars.githubusercontent.com/u/224353?v=4)](https://github.com/terranc "terranc (1 commits)")

---

Tags

laravelsdkcloudstorageqiniu

### Embed Badge

![Health badge](/badges/sunkeyys-qiniu-laravel-storage/health.svg)

```
[![Health](https://phpackages.com/badges/sunkeyys-qiniu-laravel-storage/health.svg)](https://phpackages.com/packages/sunkeyys-qiniu-laravel-storage)
```

###  Alternatives

[zgldh/qiniu-laravel-storage

Qiniu Resource (Cloud) Storage SDK for Laravel 5/6/7/8/9

515398.8k14](/packages/zgldh-qiniu-laravel-storage)[qiniu/php-sdk

Qiniu Resource (Cloud) Storage SDK for PHP

8093.0M247](/packages/qiniu-php-sdk)[itbdw/laravel-storage-qiniu

A storage library for laravel5 and qiniu sdk

7015.3k](/packages/itbdw-laravel-storage-qiniu)[yangyifan/upload

上传 SDK for Laravel

12122.7k3](/packages/yangyifan-upload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
