nelmio/cors-bundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony2 application

Official Recipe

Install

composer req cors 
or
composer require nelmio/cors-bundle 
7.8M
Total
Downloads
345k
Monthly
Downloads
3.5k
Daily
Downloads
896
Github
Stars
35
Open
Issues

Aliases

cors

Bundles

  • Nelmio\CorsBundle\NelmioCorsBundle in all

Copy From Recipe

Environment Variables

  • CORS_ALLOW_ORIGIN = ^https?://localhost(:[0-9]+)?$

Versions