{
  "name": "quiqqer/core",
  "type": "quiqqer-system",
  "description": "A modular based management system written in JavaScript and PHP",
  "license": "GPL-3.0-or-later",
  "authors": [
    {
      "name": "PCSG - Computer & Internet Service OHG",
      "email": "info@quiqqer.com",
      "homepage": "https://www.pcsg.de",
      "role": "Developer"
    }
  ],
  "support": {
    "email": "info@quiqqer.com",
    "url": "https://www.quiqqer.com"
  },
  "require": {
    "php": "^8.1",
    "ext-curl": "*",
    "ext-dom": "*",
    "ext-filter": "*",
    "ext-iconv": "*",
    "ext-intl": "*",
    "ext-libxml": "*",
    "ext-mbstring": "*",
    "ext-openssl": "*",
    "ext-pdo": "*",
    "ext-posix": "*",
    "ext-zip": "*",
    "composer/composer": "^2",
    "composer/semver": "^3",
    "martinvenus/knapsack": "^10",
    "doctrine/dbal": "^4",
    "html2text/html2text": "^4",
    "intervention/image": "^3.10",
    "league/climate": "^3",
    "league/csv": "^9",
    "masterminds/html5": "^2",
    "monolog/monolog": "^3",
    "neitanod/forceutf8": "^2",
    "oomphinc/composer-installers-extender": "^2",
    "phpmailer/phpmailer": "^7",
    "php81_bc/strftime": "^0.7",
    "quiqqer-asset/ace-builds": "^1",
    "quiqqer-asset/animejs": "^3",
    "quiqqer-asset/downloadjs": "^1",
    "quiqqer-asset/intl": "^1",
    "quiqqer-asset/mustache": "^4",
    "quiqqer-asset/nouislider": "^15",
    "quiqqer-asset/requirejs": "^2",
    "quiqqer-asset/urijs": "^1",
    "quiqqer/backendsearch": "^2",
    "quiqqer/calendar-controls": "^3",
    "quiqqer/ckeditor4": "^3",
    "quiqqer/colorpicker": "^2",
    "quiqqer/composer": "^1.9.0",
    "quiqqer/controls": "^2",
    "quiqqer/countries": "^2",
    "quiqqer/cron": "^2",
    "quiqqer/dashboard": "^2",
    "quiqqer/demodata": "^2",
    "quiqqer/diashow": "^2",
    "quiqqer/fontawesome": "^6",
    "quiqqer/log": "^2",
    "quiqqer/login-logger": "^2",
    "quiqqer/messages": "^2",
    "quiqqer/meta": "^3",
    "quiqqer/qui": "^1.6",
    "quiqqer/qui-php": "^2",
    "quiqqer/requirements": "^3",
    "quiqqer/smarty": "^3|^4",
    "quiqqer/translator": "^2.1",
    "quiqqer/utils": "^2.0.9",
    "ramsey/uuid": "^4",
    "seld/jsonlint": "^1",
    "symfony/console": "^4|^5|^6|^7|^8",
    "symfony/http-foundation": "^6",
    "symfony/polyfill-php82": "^1",
    "symfony/polyfill-php83": "^1",
    "t7systems/blowfish": "1.0.0",
    "tedivm/stash": "^1.2"
  },
  "conflict": {
    "quiqqer/quiqqer": "*",
    "quiqqer/rest": "^1"
  },
  "autoload": {
    "psr-4": {
      "QUI\\": "src/QUI/"
    },
    "classmap": [
      "src/classmap/"
    ]
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/pcsg"
    }
  ],
  "config": {
    "sort-packages": true,
    "allow-plugins": {
      "composer/installers": false,
      "oomphinc/composer-installers-extender": false
    }
  },
  "scripts": {
    "test": [
      "@dev:lint",
      "@dev:phpunit"
    ],
    "dev:phpunit": "./tools/phpunit",
    "dev:lint": [
      "@dev:lint:phpstan",
      "@dev:lint:style"
    ],
    "dev:lint:phpstan": "./tools/phpstan",
    "dev:lint:style": "./tools/phpcs",
    "dev:lint:style:fix": "./tools/phpcbf",
    "dev:init": [
      "@dev:init:check-requirements",
      "@dev:init:tools",
      "@dev:init:git-hooks"
    ],
    "dev:init:check-requirements": [
      "which composer > /dev/null || (echo 'Error: composer has to be globally installed'; exit 1)",
      "which phive > /dev/null || (echo 'Error: PHIVE has to be globally installed'; exit 1)"
    ],
    "dev:init:tools": "phive install --temporary",
    "dev:init:git-hooks": "./tools/captainhook install --only-enabled --force"
  },
  "scripts-aliases": {
    "test": [
      "dev:test"
    ]
  },
  "scripts-descriptions": {
    "test": "Runs linting, static analysis, and unit tests.",
    "dev:phpunit": "Run PHPUnit test suites",
    "dev:lint": "Run PHPStan and code style check",
    "dev:lint:phpstan": "Run PHPStan",
    "dev:lint:style": "Run code style check (PHP_CodeSniffer)",
    "dev:lint:style:fix": "Try to fix code style errors automatically",
    "dev:init": "Initialize the developer tooling (tools and git hooks)",
    "dev:init:check-requirements": "Check if the necessary requirements are met",
    "dev:init:tools": "Install all developer tools (requires PHIVE)",
    "dev:init:git-hooks": "Install all git hooks (may require tools to be installed)"
  }
}
