{
    "name": "lychee-org/nestedset",
    "description": "Nested Set Model for Laravel 10.0 and up (fork with patches for Lychee)",
    "keywords": [
        "laravel",
        "nested sets",
        "nsm",
        "database",
        "hierarchy"
    ],
    "license": "MIT",
    "authors": [
        {
            "name": "Alexander Kalnoy",
            "email": "lazychaser@gmail.com"
        }
    ],
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/LycheeOrg/phpstan-lychee"
        }
    ],
    "require": {
        "php": "^8.4",
        "illuminate/support": "^12.0",
        "illuminate/database": "^12.0",
        "illuminate/events": "^12.0"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "^3.3",
        "php-parallel-lint/php-parallel-lint": "^1.2",
        "phpunit/phpunit": "^11.0",
        "lychee-org/phpstan-lychee": "^2.0.1",
        "larastan/larastan": "^3.2",
        "orchestra/testbench": "^10.0"
    },
    "autoload": {
        "psr-4": {
            "Kalnoy\\Nestedset\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "run-tests": [
            "vendor/bin/phpunit -c phpunit.xml",
            "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml"
        ],
        "validate-files": [
            "vendor/bin/parallel-lint --exclude vendor ."
        ],
        "format": [
            "rm .php_cs.cache 2> /dev/null || true",
            "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix -v --config=.php-cs-fixer.php"
        ],
        "phpstan": [
            "vendor/bin/phpstan analyze"
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "platform": {
            "php": "8.4"
        },
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    },
    "extra": {
        "laravel": {
            "providers": [
                "Kalnoy\\Nestedset\\NestedSetServiceProvider"
            ]
        }
    }
}