divineniiquaye/rade-di

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "divineniiquaye/rade-di",
    "description": "A simple and smart dependency injection for PHP",
    "type": "library",
    "keywords": ["divinenii","php","container","di","dependency-injection"],
    "homepage": "https://www.divinenii.com",
    "license": "BSD-3-Clause",
    "authors": [
        {
            "name": "Divine Niiquaye Ibok",
            "email": "divineibok@gmail.com"
        }
    ],
    "support": {
        "docs": "https://docs.divinenii.com/rade-di/",
        "issues": "https://github.com/divineniiquaye/rade-di/issues",
        "rss": "https://github.com/divineniiquaye/rade-di/releases.atom",
        "source": "https://github.com/divineniiquaye/rade-di"
    },
    "require": {
        "php": "^8.0",
        "nette/utils": "^3.2",
        "psr/container": "^1.1 || ^2.0",
        "symfony/deprecation-contracts": "^2.4",
        "symfony/polyfill-php80": "^1.23",
        "symfony/polyfill-php81": "^1.23",
        "symfony/service-contracts": "^2.4"
    },
    "require-dev": {
        "divineniiquaye/php-invoker": "^0.9",
        "nikic/php-parser": "^4.13",
        "phpstan/phpstan": "^1.0",
        "phpunit/phpunit": "^9.5",
        "squizlabs/php_codesniffer": "^3.6",
        "symfony/config": "^5.3 || ^6.0",
        "symfony/yaml": "^5.3 || ^6.0",
        "vimeo/psalm": "^4.21"
    },
    "autoload": {
        "psr-4": {
            "Rade\\DI\\": "src/"
        },
        "files": ["src/Loader/helpers.php"]
    },
    "autoload-dev": {
        "psr-4": {
            "Rade\\DI\\Tests\\": "tests/"
        }
    },
    "suggest": {
        "symfony/config": "For using configurations in service providers and service builders",
        "symfony/yaml": "For loading service definition from yaml files with the help of symfony/config",
        "nikic/php-parser": "For using container builder class with service builders"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        }
    },
    "scripts": {
        "phpcs": "phpcs -q",
        "phpstan": "phpstan analyse",
        "psalm": "psalm --show-info=true",
        "phpunit": "phpunit --no-coverage",
        "test": [
            "@phpcs",
            "@phpstan",
            "@psalm",
            "@phpunit"
        ]
    },
    "config": {
        "allow-plugins": {
            "composer/package-versions-deprecated": false
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}