Aerendir/then-when

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "serendipity_hq/component-then-when",
    "description": "A library to calculate the time of next retry in apps that need to be fault tolerant and retry failed attempts of doing something.",
    "homepage": "https://github.com/Aerendir/component-then-when",
    "type": "library",
    "license": "MIT",
    "authors": [
        {
            "name": "Adamo Aerendir Crespi",
            "email": "aerendir@serendipityhq.com"
        }
    ],
    "require": {
        "php": "^8.2",
        "nesbot/carbon": "^2.43.0 || ^3.0.0",
        "thecodingmachine/safe": "^2.0"
    },
    "require-dev": {
        "ext-ast": "*",
        "bamarni/composer-bin-plugin": "^1.4",
        "phpstan/phpstan": "1.10.62",
        "phpstan/phpstan-phpunit": "1.3.16",
        "rector/rector": "1.0.2",
        "roave/security-advisories": "dev-master",
        "serendipity_hq/rector-config": "^1.0",
        "symfony/var-dumper": "^5.4|^6.4|^7.0",
        "thecodingmachine/phpstan-safe-rule": "1.2.0"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true
        }
    },
    "autoload": {
        "psr-4": {
            "SerendipityHQ\\Component\\ThenWhen\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "SerendipityHQ\\Component\\ThenWhen\\Tests\\": "tests"
        }
    },
    "scripts": {
        "bin": "echo 'bin not installed'",
        "post-install-cmd": [
            "@composer bin all install --ansi"
        ],
        "post-update-cmd": [
            "@composer bin all update --ansi"
        ]
    },
    "extra": {
        "bamarni-bin": {
            "bin-links": false
        }
    }
}