PHPackages                             sdaoudi/sf-forward - 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. sdaoudi/sf-forward

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

sdaoudi/sf-forward
==================

SF Forward Requests

v1.4(7y ago)033MITPHPPHP ^5.6 || ^7.0

Since Mar 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sdaoudi/sf-forward)[ Packagist](https://packagist.org/packages/sdaoudi/sf-forward)[ RSS](/packages/sdaoudi-sf-forward/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Symfony Requests Forward
========================

[](#symfony-requests-forward)

[![Build Status](https://camo.githubusercontent.com/2c3565cb8b1bc30b67320289cd22f636867efc6b5c3d3a0661e69148beb195cf/68747470733a2f2f7472617669732d63692e6f72672f7364616f7564692f73662d666f72776172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sdaoudi/sf-forward)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/200b849b871f78b7a8312b8134201cd4a0217130eb92823b98995522d53d43cc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7364616f7564692f73662d666f72776172642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sdaoudi/sf-forward/?b=master)[![Latest Stable Version](https://camo.githubusercontent.com/42c02a4e74262c2e58f4d6a6456dabf36e7f650907c9955011c427f29a439a1b/68747470733a2f2f706f7365722e707567782e6f72672f7364616f7564692f73662d666f72776172642f762f737461626c65)](https://packagist.org/packages/sdaoudi/sf-forward)[![Total Downloads](https://camo.githubusercontent.com/6b96837ddf5d74d6bc5ca62686aeacef6630a70d520ab6615e24236b3327d4a2/68747470733a2f2f706f7365722e707567782e6f72672f7364616f7564692f73662d666f72776172642f646f776e6c6f616473)](https://packagist.org/packages/sdaoudi/sf-forward)

SfForwardBundle is a bundle that allows you to forward server-side HTTP requests using the Guzzle library.

INSTALLATION
------------

[](#installation)

To install this bundle, run the following command:

```
$ composer require sdaoudi/sf-forward
```

USAGE
-----

[](#usage)

##### Enable bundle:

[](#enable-bundle)

```
SfForward\SfForwardBundle::class => ['all' => true],
```

##### Add the SfForward route to your routing.yml file:

[](#add-the-sfforward-route-to-your-routingyml-file)

```
sf_forward:
    resource: '@SfForwardBundle/Controller/SfForwardController.php'
    type: annotation
```

##### Guzzle configuration:

[](#guzzle-configuration)

For the Guzzle configuration, see the [8p/EightPointsGuzzleBundle](https://github.com/8p/EightPointsGuzzleBundle) project documentation:

```
# EightPoints GuzzleBundle
# A full list of configuration options can be found here:
# https://github.com/8p/EightPointsGuzzleBundle/blob/master/src/Resources/doc/configuration-reference.md
eight_points_guzzle:
    clients:
        my_client:
            # Write here the host where to do requests
            base_url: "http://localhost:8000"

            # Request options: http://docs.guzzlephp.org/en/stable/request-options.html
            options:
                # timeout in seconds
                timeout: 30

                # set to false to disable throwing exceptions on an HTTP protocol errors (4xx and 5xx responses)
                http_errors: true

                # each key is the name of a header, and each value is a string or array of strings representing the
                # header field values.
                headers:
                    User-Agent: "EightPointsGuzzleBundle/v7"
```

##### Examples:

[](#examples)

```
http://symfony.local//sfForwardFront/service=MyClient&routeId=_my_route_example_2174?key=value

```

- service: is the key of the client configured with Guzzle.
- routeId: is the target route, just replace the slashes (/) by underscores (\_).

In order to respect [Symfony naming conventions](https://symfony.com/doc/current/contributing/code/standards.html#service-naming-conventions), the service passed in parameter would be transformed into [Snake Case](https://fr.wikipedia.org/wiki/Snake_case).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~98 days

Total

5

Last Release

2594d ago

PHP version history (2 changes)v1.0PHP ^5.5.9 || ^7.0

v1.2PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4258e4bcc4df372565f3aff30556471739017fa40b49cf4b6e800d40dc9831ba?d=identicon)[sdaoudi](/maintainers/sdaoudi)

---

Top Contributors

[![sdaoudi](https://avatars.githubusercontent.com/u/4227015?v=4)](https://github.com/sdaoudi "sdaoudi (44 commits)")

---

Tags

guzzlesymfony-bundle

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sdaoudi-sf-forward/health.svg)

```
[![Health](https://phpackages.com/badges/sdaoudi-sf-forward/health.svg)](https://phpackages.com/packages/sdaoudi-sf-forward)
```

###  Alternatives

[api-platform/openapi

Models to build and serialize an OpenAPI specification.

353.3M48](/packages/api-platform-openapi)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

9230.2k4](/packages/bitrix24-b24phpsdk)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)[php-http/vcr-plugin

Record your test suite's HTTP interactions and replay them during future test runs.

21292.3k11](/packages/php-http-vcr-plugin)[drift/http-kernel

Http Kernel component for Drift, based on Symfony Http Kernel component

3624.1k17](/packages/drift-http-kernel)[gointegro/hateoas

GOintegro HATEOAS Lib

408.0k1](/packages/gointegro-hateoas)

PHPackages © 2026

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