installation by composer
thalysonalexr opened this issue · 2 comments
thalysonalexr commented
Hello,
I'm trying to get the middleware by composer for my application, but when I run the composer require middlewares/access-log
command I get the following message in my terminal:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for middlewares/access-log ^1.0 -> satisfiable by middlewares/access-log[v1.0.0].
- middlewares/access-log v1.0.0 requires psr/log-implementation ^1.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, deleting ./composer.json.
Is this a problem in the package?
oscarotero commented
Hi.
You need a psr/log
implementation package. Try to install monolog/monolog or any other of the following implementations https://packagist.org/providers/psr/log-implementation
thalysonalexr commented
Oh, thanks!