Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application
See the codeThe NelmioCorsBundle allows you to send Cross-Origin Resource Sharing headers with ACL-style per-URL configuration.
Require the nelmio/cors-bundle package in your composer.json and update your dependencies:
composer require nelmio/cors-bundle
The bundle should be automatically enabled by Symfony Flex. If you don't use Flex, you'll need to enable it manually as explained in the docs.
See the documentation for usage instructions.
Released under the MIT License, see LICENSE.
2,144 followers · starred Nov 2011
1,840 followers · starred Feb 2021
267 followers · starred Oct 2023
1,145 followers · starred Mar 2018
Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application
See the codeThe NelmioCorsBundle allows you to send Cross-Origin Resource Sharing headers with ACL-style per-URL configuration.
Require the nelmio/cors-bundle package in your composer.json and update your dependencies:
composer require nelmio/cors-bundle
The bundle should be automatically enabled by Symfony Flex. If you don't use Flex, you'll need to enable it manually as explained in the docs.
See the documentation for usage instructions.
Released under the MIT License, see LICENSE.
2,144 followers · starred Nov 2011
1,840 followers · starred Feb 2021
267 followers · starred Oct 2023
1,145 followers · starred Mar 2018