{
    "name": "tigr/twig-preprocessor",
    "type": "library",
    "description": "This very simple loader adds a way to pre parse twig files before loading them into twig parser",
    "authors": [
        {
            "name": "Igor Tarasov",
            "email": "tarasov.igor@gmail.com"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=7.0",
        "twig/twig": "^2.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.7",
        "satooshi/php-coveralls": "~0.6"
    },
    "autoload": {
        "classmap": [
            "lib"
        ]
    },
    "minimum-stability": "stable"
}

{
    "name": "tigr/twig-preprocessor",
    "type": "library",
    "description": "This very simple loader adds a way to pre parse twig files before loading them into twig parser",
    "authors": [
        {
            "name": "Igor Tarasov",
            "email": "tarasov.igor@gmail.com"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=7.0",
        "twig/twig": "^2.0|^3.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.7",
        "satooshi/php-coveralls": "~0.6"
    },
    "autoload": {
        "classmap": [
            "lib"
        ]
    },
    "minimum-stability": "stable"
}

Make it work with Twig 3
Make it work with Twig 3