nelmio/NelmioCorsBundle
Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 62
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 83
- age_days: 5416
- days_rel: 231
- days_push: 231
- n_releases_24m: 2
Adoption not part of the score
1925 stars · 103 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony bundle that adds Cross-Origin Resource Sharing (CORS) headers to responses with ACL-style per-URL configuration. It handles CORS preflight OPTIONS requests and is configured at the application level in PHP/YAML.
Use cases
- enable CORS for a Symfony API
- handle CORS preflight OPTIONS requests in PHP
- configure allowed origins per URL path
- fix cross-origin browser requests to my backend
- allow custom headers and methods for cross-origin calls
- add CORS headers without touching web server config
When to choose
- you run a Symfony application and need CORS for API endpoints
- you want per-URL, ACL-style CORS configuration in application code
- you need preflight request handling with cache control
When to avoid
- you need CORS headers on static files not served through Symfony
- you don't use Symfony or PHP
- a reverse proxy or web server already manages CORS headers
Facets
plugin · maturity stable
middleware http-server security routing web-development backend apis security php self-hosted cors symfony-bundle cross-origin-resource-sharing preflight-requests http-headers web-server
5 sources
- readme: https://github.com/nelmio/NelmioCorsBundle · fetched 2026-08-28 · e49ef69c2458
- homepage: https://symfony.com/bundles/NelmioCorsBundle/ · fetched 2026-08-29 · 20e669a067bb
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 5bd749e2b676
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 5928e60cd226
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nelmio/NelmioCorsBundle | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="nelmio/NelmioCorsBundle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem