Files
netslim-core/composer.json

70 lines
2.0 KiB
JSON

{
"name": "netig/netslim-core",
"description": "Reusable kernel and shared modules for Netslim-based applications.",
"license": "MIT",
"type": "library",
"require": {
"php": "^8.4",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"ext-session": "*",
"ext-simplexml": "*",
"slim/slim": "^4.13",
"slim/psr7": "^1.6",
"php-di/php-di": "^7.0",
"slim/twig-view": "^3.3",
"monolog/monolog": "^3.0",
"slim/csrf": "^1.3",
"ezyang/htmlpurifier": "^4.16",
"vlucas/phpdotenv": "^5.6",
"phpmailer/phpmailer": "^6.7"
},
"require-dev": {
"phpunit/phpunit": "^13.0",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.50"
},
"autoload": {
"psr-4": {
"Netig\\Netslim\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"test": "@php vendor/bin/phpunit",
"test:coverage": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-text",
"stan": "@php vendor/bin/phpstan analyse",
"cs:check": "@php vendor/bin/php-cs-fixer fix --dry-run --diff",
"cs:fix": "@php vendor/bin/php-cs-fixer fix",
"qa": [
"@test",
"@stan",
"@cs:check"
]
},
"scripts-descriptions": {
"test": "Run PHPUnit test suite",
"test:coverage": "Run PHPUnit with text coverage output (requires Xdebug)",
"stan": "Run PHPStan static analysis",
"cs:check": "Check coding style with PHP CS Fixer",
"cs:fix": "Fix coding style issues with PHP CS Fixer",
"qa": "Run quality checks"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
}
}
}