Files
cacti/composer.json
T

148 lines
5.9 KiB
JSON

{
"_comment": [
"+-------------------------------------------------------------------------+",
"| Copyright (C) 2004-2026 The Cacti Group |",
"| |",
"| This program is free software; you can redistribute it and/or |",
"| modify it under the terms of the GNU General Public License |",
"| as published by the Free Software Foundation; either version 2 |",
"| of the License, or (at your option) any later version. |",
"| |",
"| This program is distributed in the hope that it will be useful, |",
"| but WITHOUT ANY WARRANTY; without even the implied warranty of |",
"| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |",
"| GNU General Public License for more details. |",
"+-------------------------------------------------------------------------+",
"| Cacti: The Complete RRDtool-based Graphing Solution |",
"+-------------------------------------------------------------------------+",
"| This code is designed, written, and maintained by the Cacti Group. See |",
"| about.php and/or the AUTHORS file for specific developer information. |",
"+-------------------------------------------------------------------------+",
"| http://www.cacti.net/ |",
"+-------------------------------------------------------------------------+"
],
"name": "cacti/cacti",
"description": "Cacti Network Monitoring Framework",
"type": "composer-plugin",
"license": "GPL-2.0-only",
"require": {
"php": "^8.3",
"ext-PDO": "*",
"ext-Phar": "*",
"ext-dom": "*",
"ext-gd": "*",
"ext-gmp": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-ldap": "*",
"ext-mbstring": "*",
"ext-mysqlnd": "*",
"ext-openssl": "*",
"ext-pcntl": "*",
"ext-pdo_mysql": "*",
"ext-posix": "*",
"ext-sockets": "*",
"ext-sqlite3": "*",
"ext-xml": "*",
"firebase/php-jwt": "^7.2",
"greew/oauth2-azure-provider": "^2.0",
"hayageek/oauth2-yahoo": "^2.0",
"jfcherng/php-diff": "^7.0",
"league/oauth2-client": "^2.7",
"league/oauth2-google": "^5.0",
"lipis/flag-icons": "^7.5.0",
"mikepultz/netdns2": "^2.0",
"onelogin/php-saml": "^4.3",
"php-mqtt/client": "^2.2",
"phpseclib/phpseclib": "^4.0",
"psr/log": "^3.0",
"slim/slim": "^4.14",
"stevenmaguire/oauth2-keycloak": "^6.1.0",
"stevenmaguire/oauth2-microsoft": "^2.2",
"symfony/console": "^7.4",
"symfony/filesystem": "^7.4",
"symfony/finder": "^6.4 || ^7.4",
"symfony/http-foundation": "^7.4",
"symfony/lock": "^7.4",
"symfony/mailer": "^7.4",
"symfony/notifier": "^7.4",
"symfony/password-hasher": "^7.4",
"symfony/process": "^7.4",
"symfony/security-core": "^7.4",
"symfony/security-csrf": "^7.4",
"symfony/validator": "^7.4"
},
"require-dev": {
"composer/xdebug-handler": "^3.0",
"friendsofphp/php-cs-fixer": "^3.86",
"overtrue/phplint": "^9.6",
"pestphp/pest": "^2 || ^3",
"pestphp/pest-plugin-drift": "^2.0 || ^3.0",
"phpstan/phpstan": "^2.2.12",
"rector/rector": "^2.1.2"
},
"scripts": {
"lint": "phplint --no-cache --exclude=include/vendor --exclude=plugins ",
"phpstan": "phpstan analyse ",
"php-cs-fixer": "php-cs-fixer fix --allow-unsupported-php-version=yes --dry-run --diff --config=./.php-cs-fixer.php ",
"phpcsfixer": "@php-cs-fixer",
"hardening-patterns": "php tests/tools/check_hardening_patterns.php",
"vendor-policy": "php tests/tools/check_vendor_policy.php",
"php-cs-fixit": "php-cs-fixer fix ",
"test:cli-coverage": "@php include/vendor/bin/pest --configuration=tests/phpunit-cli-coverage.xml --coverage --coverage-text --min=100",
"install-hooks": "bash -c 'install -m 755 tests/tools/pre-commit \"$(git rev-parse --git-path hooks/pre-commit)\"'",
"test": "include/vendor/bin/pest --configuration=tests/phpunit.xml --display-warnings",
"sink-guard": "bash tests/security/verify_sink_inventory.sh",
"hotspot-guard": "bash tests/security/verify_architectural_hotspots.sh",
"changelog": "python3 .github/scripts/check-changelog.py",
"test-js": "node --test tests/js/*.test.js",
"check": [
"@lint",
"@phpstan",
"@php-cs-fixer",
"@hardening-patterns",
"@vendor-policy",
"@changelog",
"@sink-guard",
"@hotspot-guard",
"@test",
"@test-js"
]
},
"authors": [
{
"name": "The Cacti Group",
"email": "developers@cacti.net"
}
],
"funding": [
{
"url": "https://github.com/sponsors/Cacti",
"type": "github"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Cacti\\Console\\": "lib/Console/",
"Cacti\\Auth\\": "lib/Auth/"
}
},
"config": {
"sort-packages": true,
"vendor-dir": "./include/vendor",
"platform": {
"php": "8.3.0"
},
"platform-check": true,
"audit": {
"block-insecure": false
},
"allow-plugins": {
"pestphp/pest-plugin": true,
"infection/extension-installer": true
}
}
}