add slim csrf package

This commit is contained in:
Yisroel Baum 2025-10-30 09:43:56 +02:00
parent 4ef2647e57
commit da3eeef750
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 62 additions and 3 deletions

View file

@ -25,6 +25,7 @@
"php-di/php-di": "^7.1", "php-di/php-di": "^7.1",
"php-di/slim-bridge": "^3.4", "php-di/slim-bridge": "^3.4",
"slim/psr7": "^1.7", "slim/psr7": "^1.7",
"slim/twig-view": "^3.4" "slim/twig-view": "^3.4",
}, "slim/csrf": "^1.5"
}
} }

60
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "8c2473a9b58764d12ef3cbcad1dd1853", "content-hash": "82a3632a8a824a0692bfc7f07dd2d951",
"packages": [ "packages": [
{ {
"name": "fig/http-message-util", "name": "fig/http-message-util",
@ -711,6 +711,64 @@
}, },
"time": "2019-03-08T08:55:37+00:00" "time": "2019-03-08T08:55:37+00:00"
}, },
{
"name": "slim/csrf",
"version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/slimphp/Slim-Csrf.git",
"reference": "179cbcf40ee1d246d4906aefed42d3e62066974b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/179cbcf40ee1d246d4906aefed42d3e62066974b",
"reference": "179cbcf40ee1d246d4906aefed42d3e62066974b",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"psr/http-factory": "^1.1",
"psr/http-message": "^1.0 || ^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpspec/prophecy": "^1.19",
"phpspec/prophecy-phpunit": "^2.2",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.10"
},
"type": "library",
"autoload": {
"psr-4": {
"Slim\\Csrf\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Josh Lockhart",
"email": "hello@joshlockhart.com",
"homepage": "http://joshlockhart.com"
}
],
"description": "Slim Framework 4 CSRF protection PSR-15 middleware",
"homepage": "https://www.slimframework.com",
"keywords": [
"csrf",
"framework",
"middleware",
"slim"
],
"support": {
"issues": "https://github.com/slimphp/Slim-Csrf/issues",
"source": "https://github.com/slimphp/Slim-Csrf/tree/1.5.0"
},
"time": "2024-06-08T16:37:18+00:00"
},
{ {
"name": "slim/psr7", "name": "slim/psr7",
"version": "1.7.1", "version": "1.7.1",