Laravel-Source-Encrypter icon indicating copy to clipboard operation
Laravel-Source-Encrypter copied to clipboard

Your requirements could not be resolved to an installable set of packages.

Open SiavashBamshadnia opened this issue 2 years ago • 1 comments

Your requirements could not be resolved to an installable set of packages.

Problem 1 - Root composer.json requires sbamtr/laravel-source-encrypter ^1.4 -> satisfiable by sbamtr/laravel-source-encrypter[1.4.0]. - sbamtr/laravel-source-encrypter 1.4.0 requires illuminate/console ^6|^7|^8|^9 -> found illuminate/console[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0. 0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require sbamtr/laravel-source-encrypter:*" to figure out if any version is installable, or "composer require sbamtr/laravel-source-encrypter:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Originally posted by @aashishtimalsina in https://github.com/SiavashBamshadnia/Laravel-Source-Encrypter/issues/7#issuecomment-1237686972

SiavashBamshadnia avatar Sep 11 '22 12:09 SiavashBamshadnia

Hi. Please see this link:

https://stackoverflow.com/questions/29318709/how-can-i-resolve-your-requirements-could-not-be-resolved-to-an-installable-set

SiavashBamshadnia avatar Sep 11 '22 12:09 SiavashBamshadnia

@SiavashBamshadnia It doesn't work for me please show the correct way if you can. the solutions in above link don't work for me.

hanifhefaz avatar Nov 12 '22 10:11 hanifhefaz

Please upload your composer.json file here.

SiavashBamshadnia avatar Nov 14 '22 06:11 SiavashBamshadnia

ok. so the solution is if you put the exact version in the composer.json, then it works.

hanifhefaz avatar Nov 15 '22 10:11 hanifhefaz