{
    "name": "irdb/ui",
    "description": "IRDB — PHP+Twig BFF frontend (Slim 4 on FrankenPHP)",
    "type": "project",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "Alessandro Chiapparini",
            "email": "irdb@chiapparini.org"
        }
    ],
    "require": {
        "php": "^8.3",
        "slim/slim": "^4.12",
        "slim/psr7": "^1.6",
        "slim/twig-view": "^3.4",
        "twig/twig": "^3.8",
        "guzzlehttp/guzzle": "^7.8",
        "jumbojett/openid-connect-php": "^1.0.2 || ^2.0",
        "monolog/monolog": "^3.5",
        "php-di/php-di": "^7.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^11.0",
        "phpstan/phpstan": "^1.10",
        "friendsofphp/php-cs-fixer": "^3.0",
        "vlucas/phpdotenv": "^5.6"
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
        }
    },
    "config": {
        "sort-packages": true,
        "platform": {
            "php": "8.3"
        },
        "allow-plugins": {
            "php-http/discovery": true
        }
    },
    "scripts": {
        "test": "phpunit",
        "stan": "phpstan analyse --memory-limit=512M",
        "cs": "php-cs-fixer fix --dry-run --diff",
        "cs-fix": "php-cs-fixer fix"
    }
}
