netglue/prismic-php-kit

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "netglue/prismic-php-kit",
    "description": "Unofficial PHP development kit for prismic.io",
    "type": "library",
    "keywords": ["prismic", "prismicio", "cms"],
    "homepage": "https://github.com/netglue/prismic-php-kit",
    "config": {
        "sort-packages": true
    },
    "autoload": {
        "psr-4": {
            "Prismic\\": "src/Prismic"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Prismic\\Test\\": "tests/Prismic"
        }
    },

    "license": "Apache-2.0",

    "minimum-stability": "stable",

    "require": {
        "php": ">=7.1",
        "ext-curl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "guzzlehttp/guzzle": "^6.3",
        "psr/cache": "^1.0",
        "symfony/cache": "^4",
        "zendframework/zend-escaper": "^2.6"
    },

    "suggest": {
        "ext-apc": "APCu is used as the default cache if it is available"
    },

    "replace": {
        "prismic/php-sdk": "*"
    },

    "require-dev": {
        "phpstan/phpstan": "^0.9.2",
        "phpunit/phpunit": "^7",
        "squizlabs/php_codesniffer": "^3.2"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.0.x-dev"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "test": "phpunit --colors=always",
        "test-coverage": "phpunit --colors=always --coverage-html build/report",
        "analyse": "phpstan analyse --level=max src",
        "serve": "php -S 0.0.0.0:8080 -t samples samples/document-explorer.php"
    }
}