Codeigniter上的Hybridauth无法加载Hybrid_Auth类

Codeigniter上的Hybridauth无法加载Hybrid_Auth类,codeigniter,class,github,composer-php,hybridauth,Codeigniter,Class,Github,Composer Php,Hybridauth,我已经通过composer安装了hybridauth,然后按照给定的步骤进行操作,但总是出现以下错误: Could not load the Hybrid_Auth class 对此有任何解决方案吗?使用: $this->load->library('hybridauth'); 在控制器中加载库。application/composer.json { "require" : { "hybridauth/hybridauth" : "~3.0" }, "

我已经通过composer安装了
hybridauth
,然后按照给定的步骤进行操作,但总是出现以下错误:

Could not load the Hybrid_Auth class
对此有任何解决方案吗?

使用:

$this->load->library('hybridauth');

在控制器中加载库。

application/composer.json

{
   "require" : {
     "hybridauth/hybridauth" : "~3.0"
   },
   "config": {
     "platform": {
       "php": "X.X.XX" //SET your php version
     }
  }
}
并更改配置文件
application/config/config.php

$config['composer_autoload'] = TRUE;

您能告诉我们您是在哪一步出错的吗?这与Composer或Github有什么关系?是否有任何代码可以共享?