leprephp / di

A simple Dependency Injection Container, PSR-11 compliant.
MIT License
1 stars 0 forks source link

Composer require invalid argument exception #1

Closed arcostasi closed 5 years ago

arcostasi commented 5 years ago

Hello Daniele, I working on a new micro framework for PHP and I would like to test your container with our micro framework, but it is giving error to use composer require according to the README steps.

[InvalidArgumentException] Could not find a version of package lepre/di matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

omoikane commented 5 years ago

Because this project is in development stage, and we don't have a stable release yet.

Can you add "minimum-stability": "dev" in your composer.json?

More info here: https://getcomposer.org/doc/04-schema.md#minimum-stability

arcostasi commented 5 years ago

Ok, no problem! I put "minimum-stability": "dev" in my composer.json

thank you

omoikane commented 5 years ago

You are welcome ;)