{
    "alias": "wsdl2phpgenerator.phar",
    "chmod": "0755",
    "compactors": [
        "Herrera\\Box\\Compactor\\Php"
    ],
    "directories": ["vendor", "lib", "src"],
    "git-version": "git_tag",
    "output": "wsdl2phpgenerator-@git-version@.phar",
    "main": "wsdl2php.php",
    "stub": true
}

{
    "alias": "wsdl2phpgenerator.phar",
    "chmod": "0755",
    "compactors": [
        "Herrera\\Box\\Compactor\\Php"
    ],
    "directories": "Only include vendor directories that are part of require. This avoids unnecessary dev dependencies.",
    "directories": [
        "vendor/composer",
        "vendor/symfony",
        "vendor/psr",
        "lib",
        "src"
    ],
    "files": "Include files from vendor/composer/autoload_files.php as they are required even though they are not used.",
    "files": [
        "vendor/autoload.php",
        "vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php",
        "vendor/herrera-io/json/src/lib/json_version.php",
        "vendor/herrera-io/phar-update/src/lib/constants.php"
    ],
    "git-version": "git_tag",
    "output": "wsdl2phpgenerator-@git-version@.phar",
    "main": "wsdl2php.php",
    "stub": true
}

Reduce Phar size by only including non-dev directories and required files.
Reduce Phar size by only including non-dev directories and required files.