Давно я не использовал codeIgniter в качестве моей платформы.Я собираюсь установить библиотеку с помощью composer в codeIgniter,
Библиотека, которую я хочу установить, является hybridauth для входа в систему с помощью codeigniter.
Я добавил "hybridauth/hybridauth": "~3.0"
к своемуcomposer.json
Вот мое целое composer.json
{
"description": "The CodeIgniter framework",
"name": "codeigniter/framework",
"type": "project",
"homepage": "https://codeigniter.com",
"license": "MIT",
"support": {
"forum": "http://forum.codeigniter.com/",
"wiki": "https://github.com/bcit-ci/CodeIgniter/wiki",
"slack": "https://codeigniterchat.slack.com",
"source": "https://github.com/bcit-ci/CodeIgniter"
},
"require": {
"php": ">=5.3.7",
"hybridauth/hybridauth": "~3.0"
},
"suggest": {
"paragonie/random_compat": "Provides better randomness in PHP 5.x"
},
"require-dev": {
"mikey179/vfsStream": "1.1.*",
"phpunit/phpunit": "4.* || 5.*"
}
}
Затем, когда я пытаюсь установить с помощью этой команды composer install
, устанавливать нечего.Вывод этой команды был такой:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in
composer.json. You may be getting outdated dependencies. Run update to update
them.
Nothing to install or update
Generating autoload files
А когда я пытаюсь composer update
, вывод будет такой:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package hybridauth/hybridauth master is satisfiable by
hybridauth/hybridauth[dev-master] but these conflict with your requirements
or minimum-stability.
Спасибо за вашу помощь.