Configure Composer to Allow for dev-master


By default composer doesn’t allow you to install packages that are dev-master, but it’s easy to change that behavior.

When you install a package that only has a dev-master version and it fails, you need to update your composer.json.

Composer error

It’s easy to fix this composer error.

In your project’s composer.json, set “minimum-stability” to “dev.”

Your composer.json might look like this.

    "name": "My Poopy Application",
    "minimum-stability": "dev"

Now when you want to add package’s dev-master version, you can do so.

Could not find a matching version of package hack3r3d/chester. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Share Button