toddy15/spamdetect

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "toddy15/spamdetect",
    "description": "Spam detection for Laravel, using a Naive Bayes implementation",
    "type": "library",
    "license": "MIT",
    "homepage": "https://github.com/toddy15/spamdetect",
    "authors": [
        {
            "name": "Dr. Tobias Quathamer",
            "email": "toddy@debian.org"
        }
    ],
    "keywords": [
        "toddy15",
        "laravel",
        "spam",
        "spam detection",
        "bayes",
        "naive bayes"
    ],
    "require": {
        "php": "^8.1",
        "illuminate/support": "^9.52||^10.29||^11"
    },
    "require-dev": {
        "larastan/larastan": "^2.0",
        "laravel/pint": "^1.13",
        "orchestra/testbench": "^7.34||^8.14||^9",
        "pestphp/pest": "^1.21||^2.34",
        "phpstan/extension-installer": "^1.1",
        "phpstan/phpstan-deprecation-rules": "^1.0",
        "phpstan/phpstan-strict-rules": "^1.1"
    },
    "autoload": {
        "psr-4": {
            "Toddy15\\SpamDetect\\": "src",
            "Toddy15\\SpamDetect\\Database\\Factories\\": "database/factories"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Toddy15\\SpamDetect\\Tests\\": "tests"
        }
    },
    "scripts": {
        "test": "vendor/bin/pest",
        "test-coverage": "XDEBUG_MODE=coverage vendor/bin/pest --coverage",
        "format": "vendor/bin/pint",
        "analyze": "vendor/bin/phpstan"
    },
    "extra": {
        "laravel": {
            "providers": [
                "Toddy15\\SpamDetect\\SpamDetectServiceProvider"
            ],
            "aliases": {
                "SpamDetect": "Toddy15\\SpamDetect\\Facades\\SpamDetect"
            }
        }
    },
    "config": {
        "allow-plugins": {
            "pestphp/pest-plugin": true,
            "phpstan/extension-installer": true
        }
    }
}