neomerx/cors-psr7
PSR-7 CORS implementation for PHP that parses requests and generates standards-compliant Cross-Origin Resource Sharing headers. Supports preflight and actual requests, configurable origins, methods, headers, credentials, and max age for easy middleware integration.
neomerx/cors-psr7 provides robust CORS handling for PSR-7 HTTP messages. It analyzes incoming requests, validates origins and headers, and generates correct CORS headers for both simple and preflight requests, helping secure cross-origin access in PHP applications.
How can I help you explore Laravel packages today?