phossa2/middleware

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "phossa2/middleware",
    "license": "MIT",
    "type": "library",
    "description": "Another cool middleware runner library for PHP.",
    "keywords": ["middleware", "phossa", "phossa2", "framework"],
    "homepage": "https://github.com/phossa2/middleware",
    "authors": [
        {
            "name": "Hong Zhang",
            "homepage": "https://github.com/phossa2"
        }
    ],
    "require": {
        "php": ">=5.4.0",
        "psr/http-message-implementation": "^1.0.0",
        "container-interop/container-interop": "~1.0",
        "phossa2/shared": "^2.0.21"
    },
    "require-dev": {
        "phpunit/phpunit": "4.*",
        "squizlabs/php_codesniffer": "2.*",
        "phossa2/session": "dev-master",
        "phossa2/uuid": "dev-master",
        "zendframework/zend-diactoros": "^1.3.0"
    },
    "suggest": {
        "phossa2/route": "Allows routing middleware",
        "phossa2/session": "Allows using session middleware",
        "phossa2/uuid": "Allows using uuid tracking middleware",
        "zendframework/zend-diactoros": "Allows using PSR-7 HTTP messages",
        "franzl/whoops-middleware": "For pretty error handling using Whoops"
    },
    "autoload": {
        "psr-4": { "Phossa2\\Middleware\\": "src/Middleware/" }
    },
    "scripts": {
        "test": "phpunit",
        "check": "phpcs --standard=psr2 src/",
        "format": "phpcbf --standard=psr2 src/"
    },
    "config": {
        "platform": {
            "php": "5.4.0"
        }
    },
    "extra": {
        "branch-alias": {
            "dev-master": "2.1-dev"
        }
    },
    "archive": {
        "exclude": [ "!vendor", "tests", "composer.lock" ]
    }
}