Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cors Psr7 Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • PSR-7 native: works directly with request/response interfaces
  • Preflight support: handles OPTIONS checks and actual requests
  • Configurable policies: control allowed origins, methods, headers, credentials, and max age
  • Validation: rejects disallowed origins/headers with appropriate responses
  • Framework-friendly: easy to integrate into middleware or custom handlers
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo