bnomei/kirby-blueprints

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "bnomei/kirby-blueprints",
    "type": "kirby-plugin",
    "version": "4.5.0",
    "license": "MIT",
    "homepage": "https://github.com/bnomei/kirby3-blueprints",
    "description": "PHP Class-based Blueprints for Kirby CMS for better type safety and code completion",
    "authors": [
        {
            "name": "Bruno Meilick",
            "email": "b@bnomei.com"
        }
    ],
    "keywords": [
        "kirby",
        "kirby-cms",
        "kirby-plugin",
        "panel",
        "blueprints",
        "blueprint",
        "yml",
        "yaml",
        "php",
        "object-oriented",
        "type-hints",
        "type-safety",
        "code-completion",
        "model",
        "class",
        "attributes",
        "property"
    ],
    "autoload": {
        "psr-4": {
            "Bnomei\\": "classes/"
        }
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "allow-plugins": {
            "getkirby/composer-installer": true,
            "pestphp/pest-plugin": true
        }
    },
    "conflict": {
        "getkirby/cms": "<4.0"
    },
    "require": {
        "php": ">=8.2",
        "getkirby/composer-installer": "^1.2"
    },
    "require-dev": {
        "bnomei/autoloader-for-kirby": "^4.2",
        "getkirby/cms": "^4.0.0-beta.2",
        "larastan/larastan": "^2.9",
        "laravel/pint": "^1.11",
        "pestphp/pest": "^2.24",
        "pestphp/pest-plugin-drift": "^2.5",
        "pestphp/pest-plugin-type-coverage": "^2.4",
        "spatie/ray": "^1.37"
    },
    "scripts": {
        "analyze": "./vendor/bin/phpstan",
        "fix": "./vendor/bin/pint",
        "test": "./vendor/bin/pest",
        "coverage": [
            "php tests/patch.php",
            "./vendor/bin/pest --coverage"
        ],
        "dist": [
            "composer install --no-dev --optimize-autoloader",
            "git rm -rf --cached .; git add .;"
        ],
        "kirby": [
            "composer install",
            "composer update",
            "composer install --working-dir=tests/kirby --no-dev --optimize-autoloader",
            "composer update --working-dir=tests/kirby",
            "php tests/patch.php"
        ]
    },
    "extra": {
        "kirby-cms-path": "tests/kirby"
    },
    "suggests": {
        "bnomei/autoloader-for-kirby": "Helper to automatically load various Kirby extensions in a plugin"
    }
}