Download the PHP package hovensoft/duskphp-middleware without Composer
On this page you can find all versions of the php package hovensoft/duskphp-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hovensoft/duskphp-middleware
More information about hovensoft/duskphp-middleware
Files in hovensoft/duskphp-middleware
Package duskphp-middleware
Short Description A middleware 's collection
License GNU General Public License v3.0
Informations about the package duskphp-middleware
DuskPHP - Middleware
Provide middleware:
-
a CSRF authenticator which protect against CSRF attack with a token authentication
How to use
-
CSRF Authenticator
How to use it ?
This middleware check every POST, PUT and DELETE request for a CSRF token.
Input
The middleware check if the string
<:csrf_token_field:>
is in response and replace it with the authenticator's token.LICENSE
DuskPHP - A simple PHP framework build with middleware pattern
Copyright (C) 2017 HovenSoft
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses.
All versions of duskphp-middleware with dependencies
psr/http-message Version ^1.0
http-interop/http-middleware Version ^0.4.1