{
    "name": "stack/builder",
    "description": "Builder for stack middlewares based on HttpKernelInterface.",
    "keywords": ["stack"],
    "license": "MIT",
    "authors": [
        {
            "name": "Igor Wiedler",
            "email": "igor@wiedler.ch"
        }
    ],
    "require": {
        "php": ">=5.3.0",
        "symfony/http-foundation": "~2.1|~3.0",
        "symfony/http-kernel": "~2.1|~3.0"
    },
    "require-dev": {
        "silex/silex": "~1.0"
    },
    "autoload": {
        "psr-0": { "Stack": "src" }
    },
    "extra": {
        "branch-alias": { "dev-master": "1.0-dev" }
    }
}

{
    "name": "stack/builder",
    "description": "Builder for stack middlewares based on HttpKernelInterface.",
    "keywords": ["stack"],
    "license": "MIT",
    "authors": [
        {
            "name": "Igor Wiedler",
            "email": "igor@wiedler.ch"
        }
    ],
    "require": {
        "php": ">=5.3.0",
        "symfony/http-foundation": "~2.1|~3.0|~4.0",
        "symfony/http-kernel": "~2.1|~3.0|~4.0"
    },
    "require-dev": {
        "silex/silex": "~1.0"
    },
    "autoload": {
        "psr-0": { "Stack": "src" }
    },
    "extra": {
        "branch-alias": { "dev-master": "1.0-dev" }
    }
}

Make it compatible with sf 4
Make it compatible with sf 4