Download the PHP package quioteframework/cors without Composer
On this page you can find all versions of the php package quioteframework/cors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download quioteframework/cors
More information about quioteframework/cors
Files in quioteframework/cors
Download quioteframework/cors
More information about quioteframework/cors
Files in quioteframework/cors
Vendor quioteframework
Package cors
Short Description CORS middleware (preflight handling + response headers) for Quiote.
License MIT
Homepage https://github.com/quioteframework/cors
Package cors
Short Description CORS middleware (preflight handling + response headers) for Quiote.
License MIT
Homepage https://github.com/quioteframework/cors
Please rate this library. Is it a good library?
Informations about the package cors
quioteframework/cors
CORS (Cross-Origin Resource Sharing) middleware for Quiote.
Install
Enable
Set cors.enabled to true in your app's settings, plus cors.allowed_origins
(a list of origins, or ["*"]). All other keys have sane defaults:
cors.allowed_origins— list of allowed origins, or["*"](default:[], i.e. nothing allowed)cors.allowed_methods— defaultGET, POST, PUT, PATCH, DELETE, OPTIONScors.allowed_headers— default: echoes the preflight'sAccess-Control-Request-Headerscors.exposed_headers— default: nonecors.allow_credentials— defaultfalsecors.max_age— preflight cache duration in seconds, default0(no caching)
Requests without an Origin header pass through untouched. Preflight
(OPTIONS with Access-Control-Request-Method) requests are answered
directly with a 204 and never reach the action.
License
MIT. See LICENSE.
All versions of cors with dependencies
PHP Build Version
Package Version
The package quioteframework/cors contains the following files
Loading the files please wait ...