Closed matejik closed 4 months ago
The latest version of the slim/csrf package supports only psr/http-message v1.0.
https://github.com/slimphp/Slim-Csrf/blob/1.4.0/composer.json#L21
I will try to create a PR to fix that.
It should work now. Please try it again using the latest version.
Hi, following the instructions I tried to install csrf(composer require slim/csrf) with the error below. Downgrade required again
Problem 1
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require slim/csrf:*" to figure out if any version is installable, or "composer require slim/csrf:^2.1" if you know which you need.