{ "name": "nsrosenqvist/carte", "license": "MIT", "description": "A declarative PSR-15 router based on the PSR-7 and PSR-17 standards", "homepage": "https://github.com/nsrosenqvist/php-carte", "keywords": [ "router", "psr-15", "psr-7", "psr-17", "http", "middleware", "manifest", "yaml", "json" ], "authors": [ { "name": "Niklas Rosenqvist", "email": "niklas.s.rosenqvist@gmail.com", "homepage": "https://www.nsrosenqvist.com/", "role": "Developer" } ], "autoload": { "psr-4": { "Carte\\": "src/" }, "files": ["src/helpers.php"] }, "autoload-dev": { "psr-4": { "Carte\\Tests\\": "tests/" } }, "require": { "php": ">=8.2", "jrfnl/php-cast-to-type": "^2.1", "illuminate/support": ">=5.5", "psr/http-server-middleware": "^1.0", "psr/http-message": "^2.0", "alexanderpas/http-enum": "^1.0", "archtechx/enums": "^1.1", "spatie/php-cloneable": "^1.0" }, "require-dev": { "ramsey/composer-repl": "^1.4", "minicli/minicli": "^3.2", "symfony/yaml": "^6.2", "adhocore/json-comment": "^1.2", "squizlabs/php_codesniffer": "^3.7", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", "phpcompatibility/php-compatibility": "^9.3", "phpunit/phpunit": "^10.5", "friendsofphp/php-cs-fixer": "^3.62", "guzzlehttp/guzzle": "^7.9", "guzzlehttp/psr7": "^2.7", "doctrine/coding-standard": "^12.0", "phpstan/phpstan": "^1.11" }, "suggest": { "symfony/yaml": "Allows loading Yaml manifests", "adhocore/json-comment": "Allows loading JsonC manifests" }, "config": { "allow-plugins": { "ramsey/composer-repl": true, "dealerdirect/phpcodesniffer-composer-installer": true } }, "scripts": { "analyze": "./vendor/bin/phpstan analyze -c phpstan.neon", "test": "./vendor/bin/phpunit --testdox", "coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage", "release": "@php ./dev/release.php", "setup": "@php ./dev/setup.php", "lint": "./vendor/bin/phpcs -p . --standard=phpcs.xml", "fix": "./vendor/bin/phpcbf -p . --standard=phpcs.xml", "install-codestandards": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run", "post-update-cmd": "@install-codestandards", "post-install-cmd": [ "@setup", "@install-codestandards" ] }, "extra": { "title": "Carte", "ramsey/composer-repl": { "includes": [ "vendor/autoload.php" ] } } }