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 today

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 36% 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

3545d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/424349?v=4)[Benjamin Kleiner](/maintainers/bizzl-greekdog)[@bizzl-greekdog](https://github.com/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

[symfony/framework-bundle

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

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[shopware/storefront

Storefront for Shopware

674.4M211](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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