PHPackages                             wernerdweight/cors-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wernerdweight/cors-bundle

ActiveSymfony-bundle

wernerdweight/cors-bundle
=========================

Symfony bundle that handles cross-origin resource sharing headers.

2.0.0(3y ago)2979[2 PRs](https://github.com/wernerdweight/CORSBundle/pulls)MITPHPPHP &gt;=8.1

Since Jul 8Pushed 1y agoCompare

[ Source](https://github.com/wernerdweight/CORSBundle)[ Packagist](https://packagist.org/packages/wernerdweight/cors-bundle)[ Docs](https://github.com/wernerdweight/CORSBundle)[ RSS](/packages/wernerdweight-cors-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (7)Versions (21)Used By (0)

CORSBundle
==========

[](#corsbundle)

Symfony bundle that handles cross-origin resource sharing headers.

[![Build Status](https://camo.githubusercontent.com/6b65d82a494aa53ad2ebbe64eed36f0e072815d2ad5d510240507899030a227e/68747470733a2f2f6170702e7472617669732d63692e636f6d2f7765726e6572647765696768742f434f525342756e646c652e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/wernerdweight/CORSBundle)[![Latest Stable Version](https://camo.githubusercontent.com/19eae32a7858b1b2d28abab67a0a44ec07316bf30bc8653bfb3ed011e17c1ddb/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f636f72732d62756e646c652f762f737461626c65)](https://packagist.org/packages/wernerdweight/cors-bundle)[![Total Downloads](https://camo.githubusercontent.com/54712c61224dcd0e2278715d55f5477fdc8f744225a4be2f51f5b67f7131841c/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f636f72732d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/wernerdweight/cors-bundle)[![License](https://camo.githubusercontent.com/0b94b2f63ce7b8a3f4ada1cb9909fc390c745ee860c1fc0a4b9ebbda5c771eda/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f636f72732d62756e646c652f6c6963656e7365)](https://packagist.org/packages/wernerdweight/cors-bundle)

Installation
------------

[](#installation)

### 1. Download using composer

[](#1-download-using-composer)

```
composer require wernerdweight/cors-bundle
```

### 2. Enable the bundle

[](#2-enable-the-bundle)

Enable the bundle in your kernel:

```
