PHPackages                             danielburger1337/bff-proxy-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. [API Development](/categories/api)
4. /
5. danielburger1337/bff-proxy-bundle

ActiveSymfony-bundle[API Development](/categories/api)

danielburger1337/bff-proxy-bundle
=================================

A Symfony bundle that adds the BFF proxy pattern.

v0.3.0(5mo ago)082MITPHPPHP ^8.4

Since Dec 18Pushed 5mo agoCompare

[ Source](https://github.com/danielburger1337/bff-proxy-bundle)[ Packagist](https://packagist.org/packages/danielburger1337/bff-proxy-bundle)[ RSS](/packages/danielburger1337-bff-proxy-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (15)Versions (5)Used By (0)

[![PHPUnit](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpunit.yaml/badge.svg)](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpunit.yaml)[![PHPStan](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpstan.yaml/badge.svg)](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpstan.yaml)[![PHPCSFixer](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpcsfixer.yaml/badge.svg)](https://github.com/danielburger1337/bff-proxy-bundle/actions/workflows/phpcsfixer.yaml)[![Packagist Version](https://camo.githubusercontent.com/6a6a3ac4fc75ab6166ef2b9abd21343dc15b53255e872f9830aea035decb1056/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c627572676572313333372f6266662d70726f78792d62756e646c653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c627572676572313333372532466266662d70726f78792d62756e646c65)](https://camo.githubusercontent.com/6a6a3ac4fc75ab6166ef2b9abd21343dc15b53255e872f9830aea035decb1056/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c627572676572313333372f6266662d70726f78792d62756e646c653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c627572676572313333372532466266662d70726f78792d62756e646c65)[![Packagist Downloads](https://camo.githubusercontent.com/026b716227184bb610c8dd645cd0bf2531003a7845b20e418728d67cbe2674b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c627572676572313333372f6266662d70726f78792d62756e646c653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c627572676572313333372532466266662d70726f78792d62756e646c65)](https://camo.githubusercontent.com/026b716227184bb610c8dd645cd0bf2531003a7845b20e418728d67cbe2674b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c627572676572313333372f6266662d70726f78792d62756e646c653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c627572676572313333372532466266662d70726f78792d62756e646c65)

danielburger1337/bff-proxy-bundle
=================================

[](#danielburger1337bff-proxy-bundle)

A [Symfony](https://symfony.com/) bundle that implements the proxy for the Backend for Frontends pattern.

The approach this bundle takes is one of composition. It does not provide all of the required functionality of the BFF pattern on its own. Mainly, the OAuth2 token management and authentication at the upstream service is not included in this bundle.

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

[](#installation)

This library is [PSR-4](https://www.php-fig.org/psr/psr-4/) compatible and can be installed via PHP's dependency manager [Composer](https://getcomposer.org).

```
composer require danielburger1337/bff-proxy-bundle
```

Documentation
-------------

[](#documentation)

TODO

Configuration reference
-----------------------

[](#configuration-reference)

```
# config/packages/bff_proxy.yaml
bff_proxy:
    # [Optional] Proxy requests to local API
    local_proxy: local # FALSE will disable feature
    # [Optional] Query parameter to configure runtime options of the proxy
    options_parameter: bff_proxy

    upstreams:
        first-upstream:
            http_client: "@psr18_client_implementation"
            request_factory: "@psr17_factory_implementation"
            stream_factory: "@psr17_factory_implementation"
            http_foundation_factory: "@psr7_to_httpfoundation_bridge"

            # Forward all headers that start with "X-" to the upstream
            passthrough_request_x_headers: false
            # Forward specific headers to the upstream
            passthrough_request_headers: ["my-custom-header"]

            # Proxy all headers that start with "X-" from the upstream to the client
            passthrough_response_x_headers: false
            # Proxy specific headers from the upstream to the client
            passthrough_response_headers: ["upstream-custom-header"]
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance69

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Every ~6 days

Total

4

Last Release

179d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48986191?v=4)[Daniel Burger](/maintainers/danielburger1337)[@danielburger1337](https://github.com/danielburger1337)

---

Top Contributors

[![danielburger1337](https://avatars.githubusercontent.com/u/48986191?v=4)](https://github.com/danielburger1337 "danielburger1337 (23 commits)")

---

Tags

bffphpsymfonysymfony-bundleoauth2bff-proxy

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/danielburger1337-bff-proxy-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/danielburger1337-bff-proxy-bundle/health.svg)](https://phpackages.com/packages/danielburger1337-bff-proxy-bundle)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[drupal/core-recommended

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

6942.5M420](/packages/drupal-core-recommended)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/administration

Administration frontend for the Shopware Core

414.3M116](/packages/shopware-administration)

PHPackages © 2026

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