爱意满满的作品展示区。
haiyang416

重新封装了一下七牛的 PHP SDK

  •  
  •   haiyang416 · Sep 9, 2013 · 8122 views
    This topic created in 4659 days ago, the information mentioned may be changed or developed.
    因为七牛官方的 PHP SDK 并不是完全面对对象的,在 Slim 这种框架里调用非常的不方便,所以在自己需求上把官方 SDK 采用面对对象的方式全部重新封装了一下。只提供了几个非常常用的接口,代码基本上都直接使用的官方原有函数。

    虽然是很简单的东西,还是发出来,说不定会有和我同样需要的朋友。接口使用方法在源代码中都有简单的示例。

    源代码:
    https://github.com/zither/simple-qiniu-sdk
    在线测试:
    http://pencily.sinaapp.com/test.php
    4 replies    1970-01-01 08:00:00 +08:00
    XXOO
        1
    XXOO  
       Sep 13, 2013
    不错.高端大气
    结合 wordrepss 如何高?
    chuck911
        2
    chuck911  
       Sep 15, 2013
    我也做了个更简单的单文件版本qiniu-php,官方的实在太渣
    https://github.com/chuck911/qiniu-php
    imcj
        3
    imcj  
       Sep 15, 2013
    楼主的readme可以参考其他库的。
    crossmaya
        4
    crossmaya  
       Nov 7, 2013
    早知道有,我就不写了,我也简化了一个自己用。
    https://github.com/guoking/qiniu-php-sdk
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2745 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 15:03 · PVG 23:03 · LAX 08:03 · JFK 11:03
    ♥ Do have faith in what you're doing.