composer.json
{
"name": "bnomei/kirby3-security-headers",
"type": "kirby-plugin",
"version": "5.0.1",
"license": "MIT",
"description": "Kirby Plugin for easier Security Headers setup",
"authors": [
{
"name": "Bruno Meilick",
"email": "b@bnomei.com"
}
],
"keywords": [
"kirby",
"kirby-cms",
"kirby-plugin",
"content-security-policy",
"security-headers",
"csp",
"nonce",
"nonces",
"hash",
"apache",
"nginx",
"json",
"yaml"
],
"autoload": {
"psr-4": {
"Bnomei\\": "classes/"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"getkirby/composer-installer": true,
"pestphp/pest-plugin": true
}
},
"require": {
"php": ">=8.2.0",
"getkirby/composer-installer": "^1.2",
"paragonie/csp-builder": "^3.0"
},
"require-dev": {
"getkirby/cms": "^5.0.0-alpha.4",
"larastan/larastan": "^v3.0.0",
"laravel/pint": "^1.13",
"pestphp/pest": "^v3.5.1",
"spatie/ray": "^1.39"
},
"scripts": {
"stan": "./vendor/bin/phpstan",
"fix": "./vendor/bin/pint",
"test": "./vendor/bin/pest --profile",
"dist": [
"composer fix",
"composer install --no-dev --optimize-autoloader",
"git rm -rf --cached .; git add .;"
],
"kirby": [
"composer install",
"composer update",
"composer install --working-dir=tests/kirby --no-dev --optimize-autoloader",
"composer update --working-dir=tests/kirby",
"sed -i.bak 's/function dump(/function xdump(/g' tests/kirby/config/helpers.php",
"sed -i.bak 's/function e(/function xe(/g' tests/kirby/config/helpers.php"
]
},
"extra": {
"kirby-cms-path": "tests/kirby"
},
"suggest": {
"bnomei/kirby3-doctor": "Add a panel button to check health and security of your Kirby installation"
}
}