{
    "name": "yourls/yourls",
    "description": "Your Own URL Shortener",
    "type": "project",
    "keywords": [
        "shortener",
        "url shortener",
        "short url",
        "url",
        "bitly"
    ],
    "homepage": "https://yourls.org",
    "license": "MIT",
    "support": {
        "issues": "https://github.com/YOURLS/YOURLS/issues",
        "source": "https://github.com/YOURLS/YOURLS"
    },
    "require": {
        "php": "^8.1",
        "ext-dom": "*",
        "ext-filter": "*",
        "ext-hash": "*",
        "ext-pcre": "*",
        "ext-pdo": "*",
        "ext-pdo_mysql": "*",
        "ozh/bookmarkletgen": "^1.2",
        "rmccue/requests" : "^2.0",
        "pomo/pomo" : "^1.4",
        "geoip2/geoip2" : "^2.10",
        "aura/sql": "^6.0",
        "jakeasmith/http_build_url": "^1.0",
        "symfony/polyfill-mbstring": "^1.15",
        "symfony/polyfill-intl-idn": "^1.17",
        "spatie/array-to-xml": "^3.4"
    },
    "require-dev": {
        "ext-ctype": "*"
    },
    "config": {
        "vendor-dir": "includes/vendor",
        "platform": {
            "php": "8.1.0"
        }
    },
    "autoload": {
        "psr-4": {
            "YOURLS\\": "includes/"
        }
    },
    "suggest": {
        "ext-bcmath": "May be needed to read GeoIP database (or ext-gmp)",
        "ext-curl": "Required for API usage",
        "ext-gmp": "May be needed to read GeoIP database (or ext-bcmath)",
        "ext-iconv": "For safer input handling",
        "ext-json": "For faster API performance",
        "ext-mbstring": "For best performance",
        "ext-openssl": "To fetch titles from HTTPS sites",
        "ext-posix": "May be needed on certain PHP versions",
        "ext-zlib": "For best performance"
    },
    "scripts": {
        "post-update-cmd": "bash ./includes/vendor/build-script/yourls-build.sh ./includes/vendor"
    }
}
