jbboehr/laravel-blade-linter

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "jbboehr/laravel-blade-linter",
    "description": "A simple Blade template syntax checker for Laravel",
    "keywords": [
        "laravel-blade-linter",
        "laravel",
        "blade",
        "linter"
    ],
    "homepage": "https://github.com/jbboehr/laravel-blade-linter",
    "license": "MIT",
    "type": "library",
    "authors": [
        {
            "name": "John Boehr",
            "email": "jbboehr@gmail.com"
        },
        {
            "name": "Benjamin Delespierre",
            "email": "benjamin.delespierre@gmail.com"
        }
    ],
    "require": {
        "php": "^8.0",
        "illuminate/support": "^9.0 || ^10.0"
    },
    "require-dev": {
        "drupol/composer-plugin-nixify": "dev-main",
        "laravel/framework": "^9.0 || ^10.0",
        "nikic/php-parser": "^4.15",
        "nunomaduro/larastan": "^2.0",
        "orchestra/testbench": "^7.22.0",
        "phpstan/phpstan": "^1.9",
        "phpstan/phpstan-phpunit": "^1.3",
        "phpstan/phpstan-strict-rules": "^1.4",
        "phpunit/phpunit": "^9.3",
        "squizlabs/php_codesniffer": "^3.7"
    },
    "suggest": {
        "ext-ast": "*",
        "nikic/php-parser": "*"
    },
    "bin": [
        "bin/blade-linter"
    ],
    "autoload": {
        "psr-4": {
            "Bdelespierre\\LaravelBladeLinter\\": "src",
            "Bdelespierre\\LaravelBladeLinter\\FakeApp\\": "."
        }
    },
    "autoload-dev": {
        "Tests\\": "tests/"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "drupol/composer-plugin-nixify": true
        }
    },
    "extra": {
        "laravel": {
            "providers": [
                "Bdelespierre\\LaravelBladeLinter\\BladeLinterServiceProvider"
            ],
            "aliases": {
                "LaravelBladeLinter": "Bdelespierre\\LaravelBladeLinter\\BladeLinterFacade"
            }
        },
        "branch-alias": {
            "dev-master": "1.0.x-dev",
            "dev-develop": "1.0.x-dev"
        }
    },
    "scripts": {
        "test": [
            "vendor/bin/phpunit --color=always"
        ],
        "test:coverage": [
            "@putenv XDEBUG_MODE=coverage",
            "vendor/bin/phpunit --color=always --coverage-clover=\"build/coverage/clover.xml\""
        ],
        "test:coverage-html": [
            "@putenv XDEBUG_MODE=coverage",
            "vendor/bin/phpunit --color=always --coverage-html=\"build/coverage\""
        ],
        "build": [
            "rm -rfv vendor/ *.phar && composer install --no-dev && phar-composer build ./"
        ]
    }
}