squirrelphp/strings-bundle

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "squirrelphp/strings-bundle",
    "type": "library",
    "description": "Symfony integration of squirrelphp/strings - make squirrel strings functionality easily available in Symfony",
    "keywords": [
        "php",
        "strings",
        "filters",
        "random",
        "urls",
        "symfony",
        "bundle"
    ],
    "homepage": "https://github.com/squirrelphp/strings-bundle",
    "license": "MIT",
    "authors": [
        {
            "name": "Andreas Leathley",
            "email": "andreas.leathley@panaxis.ch"
        }
    ],
    "require": {
        "php": ">=8.1",
        "symfony/dependency-injection": "^5.0|^6.0|^7.0",
        "squirrelphp/debug": "^2.0",
        "squirrelphp/strings": "^1.0"
    },
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.3",
        "captainhook/plugin-composer": "^5.0",
        "phpunit/phpunit": "^10.0",
        "symfony/form": "^5.0|^6.0|^7.0",
        "symfony/twig-bundle": "^5.0|^6.0|^7.0"
    },
    "suggest": {
        "squirrelphp/strings-bundle": "Symfony integration of squirrelphp/strings"
    },
    "config": {
        "sort-packages": false,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true,
            "captainhook/plugin-composer": true
        }
    },
    "autoload": {
        "psr-4": {
            "Squirrel\\StringsBundle\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Squirrel\\StringsBundle\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "phpstan": "vendor/bin/phpstan analyse",
        "phpstan_full": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse",
        "phpstan_base": "vendor/bin/phpstan analyse --generate-baseline",
        "psalm": "vendor/bin/psalm --show-info=false",
        "psalm_full": "vendor/bin/psalm --clear-cache && vendor/bin/psalm --show-info=false",
        "psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
        "phpunit": "vendor/bin/phpunit --colors=always",
        "phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
        "coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/_reports",
        "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests",
        "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests",
        "binupdate": "@composer bin all update --ansi",
        "bininstall": "@composer bin all install --ansi"
    }
}