mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
50c8033099
* Shift HTTP kernel and middleware * Shift service providers * Shift console routes * Shift to class based factories * Namespace seeders * Shift PSR-4 autoloading * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them. This allows you to review the commit diff for once for customizations when you are done Shifting. Moving forward, consider using ENV variables or create a separate config file to allow the core config files to remain as default as possible. * Shift Laravel dependencies * Shift return type of base TestCase methods From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type: - `setUpBeforeClass()` - `setUp()` - `assertPreConditions()` - `assertPostConditions()` - `tearDown()` - `tearDownAfterClass()` - `onNotSuccessfulTest()` [1]: https://phpunit.de/announcements/phpunit-8.html * Shift cleanup * console routes * composer update * factories * phpunit * bootstrap pagination * model factory * wip * Apply fixes from StyleCI (#12236) * wip * Apply fixes from StyleCI (#12238) * wip * wip * wip * wip * Apply fixes from StyleCI (#12240) * wip * Apply fixes from StyleCI (#12242) * composer update * Bump to PHP 7.3 minimum Co-authored-by: Laravel Shift <shift@laravelshift.com>
133 lines
4.5 KiB
JSON
133 lines
4.5 KiB
JSON
{
|
|
"name": "librenms/librenms",
|
|
"description": "A fully featured network monitoring system that provides a wealth of features and device support.",
|
|
"type": "project",
|
|
"keywords": [
|
|
"network",
|
|
"monitoring",
|
|
"discovery",
|
|
"alerting",
|
|
"billing",
|
|
"snmp",
|
|
"distributed"
|
|
],
|
|
"homepage": "http://www.librenms.org/",
|
|
"license": "GPL-3.0-or-later",
|
|
"support": {
|
|
"source": "https://github.com/librenms/librenms/",
|
|
"docs": "http://docs.librenms.org/",
|
|
"forum": "https://community.librenms.org/",
|
|
"issues": "https://github.com/librenms/librenms/issues/",
|
|
"irc": "irc://irc.freenode.org/#librenms"
|
|
},
|
|
"require": {
|
|
"php": "^7.3",
|
|
"ext-curl": "*",
|
|
"ext-gd": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-pcre": "*",
|
|
"ext-pdo": "*",
|
|
"ext-session": "*",
|
|
"ext-xml": "*",
|
|
"amenadiel/jpgraph": "^3.6",
|
|
"clue/socket-raw": "^1.4",
|
|
"dapphp/radius": "^2.0",
|
|
"darkghosthunter/larapoke": "dev-master",
|
|
"doctrine/dbal": "^2.11",
|
|
"easybook/geshi": "^1.0.8",
|
|
"ezyang/htmlpurifier": "^4.8",
|
|
"fico7489/laravel-pivot": "^3.0",
|
|
"fideloper/proxy": "^4.2",
|
|
"fruitcake/laravel-cors": "^2.0",
|
|
"guzzlehttp/guzzle": "^7.0.1",
|
|
"influxdb/influxdb-php": "^1.14",
|
|
"laravel/framework": "^8.10",
|
|
"laravel/tinker": "^2.0",
|
|
"laravel/ui": "^3.0",
|
|
"librenms/laravel-vue-i18n-generator": "^0.1.46",
|
|
"oriceon/toastr-5-laravel": "dev-master",
|
|
"pear/console_color2": "^0.1",
|
|
"pear/console_table": "^1.3",
|
|
"php-amqplib/php-amqplib": "^2.0",
|
|
"phpmailer/phpmailer": "~6.0",
|
|
"predis/predis": "^1.1",
|
|
"rmccue/requests": "^1.7",
|
|
"symfony/yaml": "^4.0",
|
|
"tecnickcom/tcpdf": "~6.2.0",
|
|
"tightenco/ziggy": "^0.9",
|
|
"wpb/string-blade-compiler": "^6.0"
|
|
},
|
|
"require-dev": {
|
|
"barryvdh/laravel-debugbar": "^3.5",
|
|
"barryvdh/laravel-ide-helper": "^2.8",
|
|
"facade/ignition": "^2.3.6",
|
|
"friendsofphp/php-cs-fixer": "^2.16",
|
|
"fzaninotto/faker": "^1.9.1",
|
|
"justinrainbow/json-schema": "^5.2",
|
|
"laravel/dusk": "^6.7",
|
|
"mockery/mockery": "^1.3.1",
|
|
"nunomaduro/collision": "^5.0",
|
|
"php-parallel-lint/php-parallel-lint": "^1.1",
|
|
"phpunit/phpunit": "^9.3",
|
|
"staudenmeir/dusk-updater": "^1.1"
|
|
},
|
|
"suggest": {
|
|
"ext-memcached": "Required if you utilize distributed polling",
|
|
"ext-posix": "Allows for additional validation tests",
|
|
"ext-mysqlnd": "*",
|
|
"ext-ldap": "*"
|
|
},
|
|
"autoload": {
|
|
"exclude-from-classmap": [
|
|
"/vendor/laravel/laravel/database/",
|
|
"/vendor/laravel/laravel/app/",
|
|
"/html/plugins"
|
|
],
|
|
"psr-4": {
|
|
"App\\": "app",
|
|
"LibreNMS\\": "LibreNMS",
|
|
"LibreNMS\\Plugins\\": "html/plugins",
|
|
"LibreNMS\\Tests\\": "tests",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
},
|
|
"files": [
|
|
"includes/helpers.php"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"discard-changes": true
|
|
},
|
|
"scripts": {
|
|
"pre-update-cmd": "LibreNMS\\ComposerHelper::preUpdate",
|
|
"pre-install-cmd": "LibreNMS\\ComposerHelper::preInstall",
|
|
"post-root-package-install": "LibreNMS\\ComposerHelper::postRootPackageInstall",
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
],
|
|
"post-install-cmd": [
|
|
"LibreNMS\\ComposerHelper::postInstall",
|
|
"Illuminate\\Foundation\\ComposerScripts::postInstall",
|
|
"@php artisan vue-i18n:generate --multi-locales --format=umd",
|
|
"@php artisan view:cache",
|
|
"@php artisan optimize",
|
|
"@php artisan config:clear",
|
|
"@python-requirements"
|
|
],
|
|
"post-update-cmd": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postUpdate"
|
|
],
|
|
"python-requirements": [
|
|
"scripts/check_requirements.py || pip3 install --user -r requirements.txt || :"
|
|
]
|
|
}
|
|
}
|