FriendsOfPHP/pickle

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "friendsofphp/pickle",
    "type": "application",
    "description": "Installer for PHP extension, supports pecl package or install from src tree directly",
    "homepage": "https://github.com/FriendsOfPHP/pickle",
    "license": "BSD-3-Clause",
    "authors": [{
            "name": "Pierre Joye",
            "email": "pierre.php@gmail.com",
            "homepage": "http://pecl.php.net/user/pajoye",
            "role": "Developer"
        },
        {
            "name": "Community",
            "homepage": "https://github.com/FriendsOfPHP/pickle/graphs/contributors"
        }
    ],
    "require": {
        "php": ">=7.2",
        "ext-dom": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-simplexml": "*",
        "ext-zlib": "*",
        "composer/composer": "<2.0",
        "justinrainbow/json-schema": "^3.0 || ^4.0 || ^5.0",
        "mlocati/composer-patcher": "^1.2.2",
        "padraic/phar-updater": "~1.0@dev",
        "symfony/console": "^5.0"
    },
    "require-dev": {
        "atoum/atoum": "~3.4",
        "atoum/praspel-extension": "~0.17",
        "atoum/visibility-extension": "~1.3",
        "behat/behat": "~3.6",
        "friendsofphp/php-cs-fixer": "^2.18.1",
        "symfony/process": "^5.0"
    },
    "autoload": {
        "psr-4": {
            "Pickle\\": ["src/"]
        }
    },
    "bin": ["bin/pickle"],
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "platform": {
            "php": "7.2.5"
        },
        "discard-changes": true,
        "allow-plugins": {
            "mlocati/composer-patcher": true
        }
    },
    "scripts": {
        "cs-fix": "php-cs-fixer fix --path-mode=intersection --config=./.php_cs.dist --ansi .",
        "cs-check": "php-cs-fixer fix --path-mode=intersection --config=.php_cs.dist --ansi --dry-run --diff --diff-format=udiff .",
        "test": "atoum --force-terminal && ./vendor/bin/behat --suite pickle --colors"
    },
    "extra": {
        "patches": {
            "atoum/atoum:3.4.2": {
                "PHP 8 fixes": "patches/atoum/atoum/0001-PHP-8-fixes.patch"
            },
            "hoa/realdom:1.17.01.13": {
                "PHP 8 fixes": "patches/hoa/realdom/0001-Remove-use-of-deprecated-each-function.patch"
            },
            "hoa/stream:1.17.02.21": {
                "PHP 8 fixes": "patches/hoa/stream/0001-Fix-PHP-8-compatibility.patch"
            },
            "symfony/console:5.4.1": {
                "PHP 8.2 fixes": "patches/symfony/console/0001-Fix-PHP-8.2-compatibility.patch"
            }
        }
    }
}