folded-php/translation

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "folded/translation",
    "description": "Translate terms for your web app.",
    "type": "library",
    "license": "MIT",
    "authors": [
        {
            "name": "Khalyomede",
            "email": "khalyomede@gmail.com"
        }
    ],
    "minimum-stability": "stable",
    "require": {
        "php": ">=7.4.0",
        "illuminate/translation": "7.*",
        "folded/exception": "0.4.*"
    },
    "require-dev": {
        "phpunit/phpunit": "9.*",
        "pestphp/pest": "0.3.*",
        "friendsofphp/php-cs-fixer": "2.*",
        "phpstan/phpstan": "0.12.*"
    },
    "autoload": {
        "psr-4": {
            "Folded\\": "src"
        },
        "files": [
            "src/getTranslation.php",
            "src/getVariableTranslation.php",
            "src/hasTranslation.php",
            "src/setDefaultTranslationLang.php",
            "src/setTranslationFolderPath.php",
            "src/setTranslationLang.php"
        ]
    },
    "scripts": {
        "test": [
            "pest --coverage",
            "phpstan analyse"
        ],
        "lint": "php-cs-fixer --allow-risky=yes fix"
    }
}