How to change the minimum stability for only one package in Composer

I am trying to include the ldap-auth module in my Laravel project through Composer. However, it is only available in the dev stability version. My current Composer.json has minimum-stability set to stable , which I would like to keep for the rest of my modules, but when I try to run composer update , it gives an error that there is a module that does not meet the minimum stability requirements. Is there any way to install this package separately with its minimum stability requirements?

+3
source share
1 answer

There is, you just need to whitelist with the flag of stability. Something like that:

 { "require": { "ccovey/ldap-auth": "1.1.*@dev", }} 

Composer stability flags

+8
source

All Articles