PHPackages                             phpfastcgi/speedfony-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. phpfastcgi/speedfony-bundle

ActiveSymfony-bundle[DevOps &amp; Deployment](/categories/devops)

phpfastcgi/speedfony-bundle
===========================

A bundle to integrate a FastCGI daemon with the symfony2 framework

v0.9.0(9y ago)909.5k5[1 issues](https://github.com/PHPFastCGI/SpeedfonyBundle/issues)MITPHPPHP &gt;=5.5.0

Since Jun 1Pushed 9y ago5 watchersCompare

[ Source](https://github.com/PHPFastCGI/SpeedfonyBundle)[ Packagist](https://packagist.org/packages/phpfastcgi/speedfony-bundle)[ RSS](/packages/phpfastcgi-speedfony-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

Speedfony Bundle
================

[](#speedfony-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/ce6a31f6df90de95c0320b3128ec19cbb0d02097dbc756b05a935651022b535a/68747470733a2f2f706f7365722e707567782e6f72672f706870666173746367692f7370656564666f6e792d62756e646c652f762f737461626c65)](https://packagist.org/packages/phpfastcgi/speedfony-bundle)[![Build Status](https://camo.githubusercontent.com/fce1b175daa042f2d56f52c5515cf74b168cb4c24d1b44658515d65c3446f6ee/68747470733a2f2f7472617669732d63692e6f72672f504850466173744347492f5370656564666f6e7942756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PHPFastCGI/FastCGIDaemon)[![Coverage Status](https://camo.githubusercontent.com/60805677b7471f61a491f14383d9d82d5b6fb717a14a6b1f95d49af774b05a23/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f504850466173744347492f5370656564666f6e7942756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/PHPFastCGI/SpeedfonyBundle?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b3f0c80c96b7f8b3e0a3f9a56336d1524ae210fcaa0ffaff864f2676c669b587/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f504850466173744347492f5370656564666f6e7942756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/PHPFastCGI/SpeedfonyBundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/24affb00efe4792427e5edfa5f098bb6ba7be1b2180711069aebf379dea151e6/68747470733a2f2f706f7365722e707567782e6f72672f706870666173746367692f7370656564666f6e792d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/phpfastcgi/speedfony-bundle)

A symfony2 bundle which allows applications to reduce overheads by exposing symfony's Request-Response structure to a FastCGI daemon.

Visit the [project website](http://phpfastcgi.github.io/).

Introduction
------------

[](#introduction)

Using this bundle, symfony2 applications can stay alive between HTTP requests whilst operating behind the protection of a FastCGI enabled web server.

Current Status
--------------

[](#current-status)

This daemon is currently in early development stages and not considered stable.

Contributions and suggestions are welcome.

Installing
----------

[](#installing)

By turning your Symfony application into a FastCGI application, you can keep the application in memory between request cycles.

To do this, open the terminal in your project directory and use composer to add the Speedfony Bundle to your dependencies.

```
composer require "phpfastcgi/speedfony-bundle"
```

Next, register the bundle in your AppKernel.php file:

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
  public function registerBundles()
  {
    $bundles = array(
      // ...
      new PHPFastCGI\SpeedfonyBundle\PHPFastCGISpeedfonyBundle(),
    );

    // ...
  }
// ...
```

Running the Daemon
------------------

[](#running-the-daemon)

To start the daemon listening on port 5000 use the command below. Production mode is selected here for the purposes of generating accurate benchmarks. We do not recommend that you use this package in production mode as it is not yet stable.

Check the FastCGI documentation for your chosen web server to find out how to configure it to use this daemon as a FastCGI application.

```
php app/console speedfony:run --port 5000 --env="prod"
```

If you are using apache, you can configure the FastCGI module to launch and manage the daemon itself. For this to work you must omit the "--port" option from the command and the daemon will instead listen for incoming connections on FCGI\_LISTENSOCK\_FILENO (STDIN).

For more information, please see the [server configuration documentation](https://github.com/PHPFastCGI/FastCGIDaemon#server-configuration).

Updates
-------

[](#updates)

### v0.9.0

[](#v090)

- Upgraded FastCGIDaemon to v0.10.0 (auto-shutdown and shutdown flag support)

### v0.8.1

[](#v081)

- Bugfix: Upgraded FastCGIDaemon to v0.8.0

### v0.8.0

[](#v080)

- Symfony 3.0 component support

### v0.7.1

[](#v071)

- Service configuration file fix

### v0.7.0

[](#v070)

- Upgraded to use FastCGIDaemon v0.7.0

### v0.6.0

[](#v060)

- Upgraded to use FastCGIDaemon v0.6.0

### v0.5.0

[](#v050)

- Upgraded to use FastCGIDaemon v0.5.0

### v0.4.0

[](#v040)

- Upgraded to use FastCGIDaemon v0.4.0, renamed command to 'speedfony:run'

### v0.3.2

[](#v032)

- Bugfix: Composer dependency on FastCGIDaemon was too loose

### v0.3.1

[](#v031)

- Bugfix: Added call to terminate method on symfony kernel (so post response listeners now work)

### v0.3.0

[](#v030)

- Upgraded to use FastCGIDaemon v0.3.0

### v0.2.0

[](#v020)

- Upgraded to use FastCGIDaemon v0.2.0 and Symfony 2.7 with PSR-7 messages

Contributions and suggestions are welcome.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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 ~50 days

Recently: every ~102 days

Total

12

Last Release

3455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

![](https://www.gravatar.com/avatar/6e7abce428a9dc9c76f4275ca8d8d11ad55138d72f3e3e2b01c6b2da5b479cc0?d=identicon)[AndrewCarterUK](/maintainers/AndrewCarterUK)

---

Top Contributors

[![AndrewCarterUK](https://avatars.githubusercontent.com/u/6486835?v=4)](https://github.com/AndrewCarterUK "AndrewCarterUK (46 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![ismailbaskin](https://avatars.githubusercontent.com/u/358830?v=4)](https://github.com/ismailbaskin "ismailbaskin (1 commits)")

---

Tags

bundleserverfastcgidaemonfast cgispeedfony

### Embed Badge

![Health badge](/badges/phpfastcgi-speedfony-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/phpfastcgi-speedfony-bundle/health.svg)](https://phpackages.com/packages/phpfastcgi-speedfony-bundle)
```

###  Alternatives

[phpfastcgi/fastcgi-daemon

A FastCGI daemon written in PHP

32911.4k4](/packages/phpfastcgi-fastcgi-daemon)[sineflow/clamav

ClamAV PHP Client for Symfony

10168.5k](/packages/sineflow-clamav)[klapaudius/symfony-mcp-server

Build your own LLM tools inside your symfony project by adding to it a Model Context Protocol Server

2716.5k](/packages/klapaudius-symfony-mcp-server)[onmoon/openapi-server-bundle

Symfony bundle to create a fully-featured API server from an OpenAPI v3 specification

1117.7k](/packages/onmoon-openapi-server-bundle)

PHPackages © 2026

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