composer/composer — Issue #183: Consider adding basic inheritance support for composer.json
Author: schmittjoh
Created: 2012-01-05 09:20:39+00:00
State: open

Opening at Jordi's request as discussed on FOSRestBundle.

This would come in handy for testing a bundle against multiple different vendors without duplicating the entire file.

```json
// composer.json
{
require: {
"symfony/symfony": "2.*",
// ... more dependencies
}
}
```

```json
// tests/composer-2.0.json
{
inherit: "../composer.json",
require: { "symfony/symfony": "2.0.*" }
}
```

```json
// tests/composer-2.1.json
{
inherit: "../composer.json",
require: { "symfony/symfony": "2.1.*" }
}
```