2017 © Pedro Peláez
 

symfony-bundle speedfony-bundle

A bundle to integrate a FastCGI daemon with the symfony2 framework

image

phpfastcgi/speedfony-bundle

A bundle to integrate a FastCGI daemon with the symfony2 framework

  • Friday, December 2, 2016
  • by AndrewCarterUK
  • Repository
  • 7 Watchers
  • 93 Stars
  • 2,574 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 14 Versions
  • 8 % Grown

The README.md

Speedfony Bundle

Latest Stable Version Build Status Coverage Status Scrutinizer Code Quality Total Downloads, (*1)

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

Visit the project website., (*3)

Introduction

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

Current Status

This daemon is currently in early development stages and not considered stable., (*5)

Contributions and suggestions are welcome., (*6)

Installing

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

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

composer require "phpfastcgi/speedfony-bundle"

Next, register the bundle in your AppKernel.php file:, (*9)

// app/AppKernel.php

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

    // ...
  }
// ...

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., (*10)

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

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)., (*12)

For more information, please see the server configuration documentation., (*13)

Updates

v0.9.0

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

v0.8.1

  • Bugfix: Upgraded FastCGIDaemon to v0.8.0

v0.8.0

  • Symfony 3.0 component support

v0.7.1

  • Service configuration file fix

v0.7.0

  • Upgraded to use FastCGIDaemon v0.7.0

v0.6.0

  • Upgraded to use FastCGIDaemon v0.6.0

v0.5.0

  • Upgraded to use FastCGIDaemon v0.5.0

v0.4.0

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

v0.3.2

  • Bugfix: Composer dependency on FastCGIDaemon was too loose

v0.3.1

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

v0.3.0

  • Upgraded to use FastCGIDaemon v0.3.0

v0.2.0

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

Contributions and suggestions are welcome., (*14)

The Versions

02/12 2016

dev-master

9999999-dev

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

01/12 2016

v0.9.0

0.9.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

01/12 2016

dev-version-update

dev-version-update

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

23/03 2016

v0.8.1

0.8.1.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

22/02 2016

v0.8.0

0.8.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

30/10 2015

v0.7.1

0.7.1.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

21/10 2015

v0.7.0

0.7.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

27/08 2015

v0.6.0

0.6.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

20/08 2015

v0.5.0

0.5.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

15/08 2015

v0.4.0

0.4.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

15/08 2015

v0.3.2

0.3.2.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

17/07 2015

v0.3.1

0.3.1.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

04/07 2015

v0.3.0

0.3.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony

01/06 2015

v0.2.0

0.2.0.0

A bundle to integrate a FastCGI daemon with the symfony2 framework

  Sources   Download

GPL v2

The Requires

 

The Development Requires

bundle server daemon fastcgi fast cgi speedfony