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 2w 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 35% 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

3591d 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.6k257.3M12.3k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M418](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k190.0M2.6k](/packages/symfony-security-bundle)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M448](/packages/drupal-core-recommended)[shopware/storefront

Storefront for Shopware

674.7M283](/packages/shopware-storefront)

PHPackages © 2026

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