1. 首页
  2. 考试认证
  3. 其它
  4. OhInstagramBundle使用Instaphp作为Symfony2服务

OhInstagramBundle使用Instaphp作为Symfony2服务

上传者: 2024-12-19 17:19:09上传 ZIP文件 35.27KB 热度 7次

OhInstagramBundle 此捆绑包已被弃用,取而代之的使用更新版本的@sesser的Instaphp库作为Symfony2服务。安装通过添加到composer.json像往常一样安装这个包:

\"oh/instagram-bundle\": \"dev-master\"

安装上述模块后,您需要更新您的作曲家运行命令:

“php composer.phar update”

在app/AppKernel.php注册包:

// app/AppKernel.php

public function registerBundles() {

return array(

    // ...

    new OhInstagramBundle(),

);

}

app/config/

下载地址
用户评论