{
    "name": "yesweweb/affishop",
    "type": "project",
    "description": "Multisite affiliate shop",
    "homepage": "https://www.yesweweb.com",
    "require": {
        "php": "^7.4 || ^8.0",
        "codeigniter4/framework": "^4.4",
        "illuminate/collections": "^11.41",
        "dragon-code/support": "^5.8",
        "daycry/cronjob": "*",
        "codeigniter4/shield": "*"
    },
    "require-dev": {
        "codeigniter/coding-standard": "^1.5",
        "ergebnis/composer-normalize": "^2.28",
        "fakerphp/faker": "^1.9",
        "predis/predis": "^1.1 || ^2.0",
        "rector/rector": "0.18.0",
        "vimeo/psalm": "^5.0",
        "kint-php/kint": "*"
    },
    "suggest": {
        "ext-curl": "If you use CURLRequest class",
        "ext-exif": "If you run Image class tests",
        "ext-fileinfo": "Improves mime type detection for files",
        "ext-gd": "If you use Image class GDHandler",
        "ext-imagick": "If you use Image class ImageMagickHandler",
        "ext-memcache": "If you use Cache class MemcachedHandler with Memcache",
        "ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
        "ext-mysqli": "If you use MySQL",
        "ext-pgsql": "If you use PostgreSQL",
        "ext-readline": "Improves CLI::input() usability",
        "ext-redis": "If you use Cache class RedisHandler",
        "ext-simplexml": "If you format XML"
    },
    "autoload": {
        "psr-4": {
            "CodeIgniter\\": "system/"
        },
        "exclude-from-classmap": [
            "**/Database/Migrations/**"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "CodeIgniter\\": "tests/system/",
            "Utils\\": "utils/"
        }
    },
    "scripts": {
        "post-update-cmd": [
            "CodeIgniter\\ComposerScripts::postUpdate",
            "bash -c \"if [ -f admin/setup.sh ]; then bash admin/setup.sh; fi\""
        ],
        "analyze": [
            "Composer\\Config::disableProcessTimeout",
            "bash -c \"XDEBUG_MODE=off phpstan analyse\"",
            "rector process --dry-run"
        ],
        "cs": [
            "Composer\\Config::disableProcessTimeout",
            "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php",
            "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php",
            "php-cs-fixer fix --ansi --verbose --dry-run --diff"
        ],
        "cs-fix": [
            "Composer\\Config::disableProcessTimeout",
            "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php",
            "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php",
            "php-cs-fixer fix --ansi --verbose --diff"
        ],
        "sa": "@analyze",
        "style": "@cs-fix",
        "test": "phpunit"
    },
    "scripts-descriptions": {
        "analyze": "Run static analysis",
        "cs": "Check the coding style",
        "cs-fix": "Fix the coding style",
        "test": "Run unit tests"
    },
    "config": {
        "allow-plugins": {
            "ergebnis/composer-normalize": true
        },
        "platform": {
            "php": "8.3.15"
        }
    }
}
