{
    "name": "cooperativaobrera/metrics",
    "type": "project",
    "description": "Endpoint de registro de métricas",
    "license": "COL",
    "require": {
        "php": "^8.0",
        "akrabat/ip-address-middleware": "^2.6",
        "elasticsearch/elasticsearch": "^8.13",
        "firebase/php-jwt": "6.8.1",
        "slim/psr7": "^1.8",
        "slim/slim": "^4"
    },
    "autoload": {
        "psr-4": {
            "App\\Config\\": "app/Config/",
            "App\\Actions\\": "app/Actions/",
            "App\\Services\\": "app/Services/",
            "App\\Contracts\\": "app/Contracts/",
            "App\\Infrastructure\\": "app/Infrastructure/",
            "App\\Libraries\\": "app/Libraries/"
        },
        "files": [
            "app/Functions/Environment.php",
            "app/Functions/Logger.php",
            "app/Functions/Cookies.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "php-http/discovery": true
        }
    },
    "scripts": {
        "reinstalar": [
            "rm -Rf vendor composer.lock",
            "@composer install --no-dev --ignore-platform-reqs"
        ],
        "instalar": [
            "@composer install --no-dev --prefer-dist --no-interaction --no-progress --optimize-autoloader --classmap-authoritative --ignore-platform-reqs"
        ],
        "test": "phpunit",
        "test:unit": "phpunit --testsuite Unit",
        "test:integration": "phpunit --testsuite Integration"
    },
    "require-dev": {
        "phpunit/phpunit": "^10"
    }
}
