OhInstagramBundle使用Instaphp作为Symfony2服务
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/
下载地址
用户评论