SanderSander/composer-link

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "sandersander/composer-link",
    "description": "Adds ability to link local packages for development with composer",
    "type": "composer-plugin",
    "license": "MIT",
    "authors": [
        {
            "name": "SanderSander",
            "email": "themastersleader@hotmail.com"
        }
    ],
    "autoload": {
        "psr-4": {
            "ComposerLink\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests"
        }
    },
    "require": {
        "php": ">=8.1",
        "ext-json": "*",
        "composer-plugin-api": "^2.2"
    },
    "require-dev": {
        "composer/composer": "^2.2",
        "friendsofphp/php-cs-fixer": "^v3.15.0",
        "phpstan/phpstan": "^1.4",
        "phpunit/phpunit": "^9.6.3",
        "phpstan/phpstan-phpunit": "^1.1",
        "phpmd/phpmd": "^2.12",
        "phpstan/phpstan-strict-rules": "^1.1",
        "phpstan/phpstan-deprecation-rules": "^1.0"
    },
    "extra": {
        "class": "ComposerLink\\Plugin"
    },
    "scripts": {
        "phpmd": "./vendor/bin/phpmd ./src,./tests ansi ruleset.xml",
        "test": "./vendor/bin/phpunit --testsuite=Unit",
        "test-integration": "./vendor/bin/phpunit --testsuite=Integration",
        "phpstan": "./vendor/bin/phpstan",
        "lint": "./vendor/bin/php-cs-fixer fix"
    }
}