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 
8.5M
Total
Downloads
323k
Monthly
Downloads
2.4k
Daily
Downloads
956
Github
Stars
38
Open
Issues

Aliases

cors

Bundles

  • Nelmio\CorsBundle\NelmioCorsBundle in all

Copy From Recipe

Environment Variables

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

Versions