PHPackages                             benkle/auto-preflight-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. [HTTP &amp; Networking](/categories/http)
4. /
5. benkle/auto-preflight-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

benkle/auto-preflight-bundle
============================

A simple bundle to automatically generate responses for CORS preflight.

0.90(9y ago)0214MITPHP

Since Oct 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/benkle-libs/auto-preflight-bundle)[ Packagist](https://packagist.org/packages/benkle/auto-preflight-bundle)[ RSS](/packages/benkle-auto-preflight-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

AutoPreflightBundle
===================

[](#autopreflightbundle)

A simple bundle to automatically generate responses for CORS preflight.

Install
-------

[](#install)

Install with composer.

```
$ composer require benkle/auto-preflight-bundle

```

Add this to your kernel bundles:

```
new Benkle\AutoPreflightBundle\BenkleAutoPreflightBundle(),
```

Configuration
-------------

[](#configuration)

Add this section to your *config.yaml*:

```
benkle_auto_preflight:
    allow_origin: '*'
    allow_headers: x-auth-token
```

Both *allow\_origin* and *allow\_headers* are currently string values, and are send as is to the browser.

You also **must** use the field *methods* in your route definitions, or only `GET` will be available.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3495d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70253fd266a8069896d4d0265ba3d452d6e4a006cbf564a11bfaf692ca5bb44c?d=identicon)[bizzl-greekdog](/maintainers/bizzl-greekdog)

---

Top Contributors

[![bizzl-greekdog](https://avatars.githubusercontent.com/u/424349?v=4)](https://github.com/bizzl-greekdog "bizzl-greekdog (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benkle-auto-preflight-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/benkle-auto-preflight-bundle/health.svg)](https://phpackages.com/packages/benkle-auto-preflight-bundle)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[friendsofsymfony/http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

43813.2M47](/packages/friendsofsymfony-http-cache-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
