{
    "name": "xemlock/htmlpurifier-html5",
    "type": "library",
    "description": "HTML5 support for HTML Purifier",
    "keywords": [
        "HtmlPurifier",
        "html",
        "html5",
        "purifier",
        "security",
        "xss",
        "tidy",
        "validator"
    ],
    "homepage": "https://github.com/xemlock/htmlpurifier-html5",
    "license": "MIT",
    "authors": [
        {
            "name": "xemlock",
            "email": "xemlock@gmail.com"
        }
    ],
    "require": {
        "php": ">=5.2",
        "ezyang/htmlpurifier": "^4.8"
    },
    "require-dev": {
        "phpunit/phpunit": ">=4.7",
        "php-coveralls/php-coveralls": "^1.1|^2.1",
        "masterminds/html5": "^2.7"
    },
    "autoload": {
        "classmap": ["library/HTMLPurifier/"]
    },
    "autoload-dev": {
        "classmap": ["tests/HTMLPurifier/"]
    },
    "scripts": {
        "post-install-cmd": [
            "@php maintenance/patch-phpunit.php"
        ],
        "post-update-cmd": [
            "@php maintenance/patch-phpunit.php"
        ],
        "test": "phpunit --coverage-html build/coverage"
    },
    "suggest": {
        "masterminds/html5": "Required to use HTMLPurifier_Lexer_HTML5"
    }
}

{
    "name": "xemlock/htmlpurifier-html5",
    "type": "library",
    "description": "HTML5 support for HTML Purifier",
    "keywords": [
        "HtmlPurifier",
        "html",
        "html5",
        "purifier",
        "security",
        "xss",
        "tidy",
        "validator"
    ],
    "homepage": "https://github.com/xemlock/htmlpurifier-html5",
    "license": "MIT",
    "authors": [
        {
            "name": "xemlock",
            "email": "xemlock@gmail.com"
        }
    ],
    "require": {
        "php": ">=5.3",
        "ezyang/htmlpurifier": "^4.8"
    },
    "require-dev": {
        "phpunit/phpunit": ">=4.7",
        "php-coveralls/php-coveralls": "^1.1|^2.1",
        "masterminds/html5": "^2.7"
    },
    "autoload": {
        "classmap": ["library/HTMLPurifier/"]
    },
    "autoload-dev": {
        "classmap": ["tests/HTMLPurifier/"]
    },
    "scripts": {
        "post-install-cmd": [
            "@php maintenance/patch-phpunit.php"
        ],
        "post-update-cmd": [
            "@php maintenance/patch-phpunit.php"
        ],
        "test": "phpunit --coverage-html build/coverage"
    },
    "suggest": {
        "masterminds/html5": "Required to use HTMLPurifier_Lexer_HTML5"
    }
}

Set minimum required PHP version to 5.3
Set minimum required PHP version to 5.3

Effectively PHP 5.2 was never supported:
- Composer requires PHP 5.3, there was no autoloading bridge for 5.2
- Code was untested on 5.2
- Last 5.2.* version was released in 2011