Alexander Schranz
Alexander Schranz

Reputation: 2450

Composer require version but allow also develop branches

Current composer

"require": {
    "php": ">=5.5",
    "other/bundle": "~1.0"
},

When some use other/bundle on dev-develop or another branch he can't install my bundle. How I can allow this?

Upvotes: 2

Views: 523

Answers (1)

Peter Bailey
Peter Bailey

Reputation: 105878

This is what stability flags are for.

"require": {
    "php": ">=5.5",
    "other/bundle": "~1.0@dev"
},

Upvotes: 2

Related Questions