{
    "name": "mk-j/php_xlsxwriter",
    "description": "PHP Library to write XLSX files",
    "keywords": ["php", "library","xls", "xlsx", "excel"],
    "type": "project",
    "homepage": "https://github.com/mk-j/PHP_XLSXWriter",
    "license": "MIT",

    "autoload": {
        "classmap": ["xlsxwriter.class.php"]
    },
    "require-dev": {
        "phpunit/phpunit": "4.3.*"
    }
}

{
    "name": "mk-j/php_xlsxwriter",
    "description": "PHP Library to write XLSX files",
    "keywords": ["php", "library","xls", "xlsx", "excel"],
    "type": "project",
    "homepage": "https://github.com/mk-j/PHP_XLSXWriter",
    "license": "MIT",

    "autoload": {
        "classmap": ["xlsxwriter.class.php"]
    },
    "require-dev": {
        "phpunit/phpunit": "4.3.*"
    }
    "require": {
        "xrstf/composer-php52": "1.*" //PHP 5.2 Autoloading for Composer
        "php": ">=5.2.*" // Min version PHP
    },
    "scripts": {
        "post-install-cmd": [
            "xrstf\\Composer52\\Generator::onPostInstallCmd"
        ],
        "post-update-cmd": [
            "xrstf\\Composer52\\Generator::onPostInstallCmd"
        ],
        "post-autoload-dump": [
            "xrstf\\Composer52\\Generator::onPostInstallCmd"
        ]
    }
}

Add require min version PHP 5.2 and compatibility Composer for PHP 5.2
Add require min version PHP 5.2 and compatibility Composer for PHP 5.2

Add require min version PHP 5.2 and compatibility Composer for PHP 5.2