Saya punya proyek dengan beberapa dependensi dan saya ingin menginstal yang lain, tapi saya ingin yang lain tetap seperti itu. Jadi saya sudah mengedit composer.json
, tetapi jika saya jalankan composer install
, saya mendapatkan output berikut:
Installing dependencies 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.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework dev-master requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- laravel/framework dev-master requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- Installation request for laravel/framework dev-master -> satisfiable by laravel/framework dev-master.
Pertama-tama, saya sudah menginstal mcrypt, jadi saya tidak tahu mengapa itu mengeluh tentang itu di sana.
Jadi, bagaimana saya bisa menginstal dependensi baru ini?
Komposer saya. Json:
{
"require": {
"opauth/opauth": "*",
"opauth/facebook": "*",
"opauth/google": "*",
"opauth/twitter": "*",
"imagine/Imagine": "dev-develop",
"laravel/framework": "4.*",
"loic-sharma/profiler": "dev-master"
},
"autoload": {
"classmap": [
"app/libraries",
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/tests/TestCase.php"
]
},
"minimum-stability": "dev"
}