henzeb/enumhancer

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "henzeb/enumhancer",
    "description": "Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums",
    "keywords": [
        "henzeb",
        "enumhancer",
        "enums",
        "enum",
        "dropdown",
        "select",
        "list",
        "enumerators",
        "enumerator",
        "mappers",
        "labels",
        "reporting",
        "report",
        "logging",
        "stringable",
        "string",
        "comparison",
        "blade",
        "native",
        "backed",
        "basic",
        "unit",
        "unitEnum",
        "backedEnum",
        "from",
        "tryFrom",
        "extract",
        "extractor",
        "properties",
        "subset",
        "value",
        "casting",
        "cast",
        "eloquent",
        "laravel",
        "spatie",
        "default",
        "php 8.1",
        "8.1",
        "php 8.2",
        "8.2",
        "state",
        "machine",
        "transition",
        "validation",
        "rules",
        "bitmask",
        "bitmasks",
        "macros",
        "macroable",
        "binding",
        "ide-helper",
        "implicit"
    ],
    "homepage": "https://github.com/henzeb/enumhancer",
    "license": "AGPL-3.0-only",
    "type": "library",
    "authors": [
        {
            "name": "Henze Berkheij",
            "email": "henzeberkheij@gmail.com",
            "role": "Developer"
        }
    ],
    "require": {
        "php": "^8.1"
    },
    "require-dev": {
        "composer/composer": "^2.5",
        "henzeb/enumhancer-ide-helper": "main-dev",
        "infection/infection": "^0.27.0",
        "mockery/mockery": "^1.5",
        "nunomaduro/larastan": "^2.3",
        "orchestra/testbench": "^v7.18|^8.0|^9",
        "phpstan/phpstan": "^1.9",
        "phpunit/phpunit": "^9.5.27|^10"
    },
    "autoload": {
        "files": [
            "src/Functions/Functions.php"
        ],
        "psr-4": {
            "Henzeb\\Enumhancer\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Henzeb\\Enumhancer\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "test": "vendor/bin/phpunit",
        "test-coverage-txt": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
        "test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html coverage",
        "test-dox": "vendor/bin/phpunit --testdox"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "infection/extension-installer": true
        }
    },
    "extra": {
        "laravel": {
            "providers": [
                "Henzeb\\Enumhancer\\Laravel\\Providers\\EnumhancerServiceProvider"
            ]
        }
    }
}