Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance

v3.0.0 2018-07-06 15:04 UTC


Rock Symphony
Rock with Symfony1 again.
Just when you thought it's dead.

Build Status

RockSymphony Framework

It's a fork of symfony1 that will move forward.

Why not use Symfony2+?

We have a rather big project running on symfony1 you cannot just throw out everything.
This fork is intended to move still-running and still-in-development legacy projects forward to modern development best-practices.


  • Semantic versioning
  • Incremental BC-breaking updates that bring something new to your symfony1 project
  • PHP 7.1 compatibility
  • Replace legacy sf1 parts with modern libraries reducing framework footprint to the very minimum


  • Add argument return type hints everywhere (improve IDE static analysis)
  • Fix phpdoc / code inconsistencies
  • composer support
  • Drop sfCoreAutoload
  • Replace sfYaml with Symfony\Yaml
  • Replace sfLogger with PSR Logger
  • Descent service container, services auto-injection
  • CommandBus + JobQueue
  • Logging with Logger object (not via sfEventDispatcher)
  • Namespaced controllers
  • PSR HTTP Requests
  • .env
  • Fix sfContext
  • Fix sfApplicationConfiguration / ProjectConfiguration
  • symfony/console
  • Replace services.yml with pure-PHP services.php
  • Drop module-level .yml configurations support
  • Symfony2-like Bundles instead of plugins

About symfony1

Symfony is a complete framework designed to optimize the development of web applications by way of several key features. For starters, it separates a web application's business rules, server logic, and presentation views. It contains numerous tools and classes aimed at shortening the development time of a complex web application. Additionally, it automates common tasks so that the developer can focus entirely on the specifics of an application. The end result of these advantages means there is no need to reinvent the wheel every time a new web application is built!

Symfony was written entirely in PHP 5. It has been thoroughly tested in various real-world projects, and is actually in use for high-demand e-business websites. It is compatible with most of the available databases engines, including MySQL, PostgreSQL, Oracle, and Microsoft SQL Server. It runs on *nix and Windows platforms.


PHP 5.4.0 and up. See prerequisites on



Using Composer as dependency management:

composer require rock-symphony/rock-symphony "1.7.*"
composer install

Note: On windows, if your project is a few directories down from the drive root, composer can throw an error relating to ZipArchive::extractTo(), this can be because pathnames are too long. There currently appears to be no proper solution but a workaround is to move your project to the drive root, run the commands from there, where they will run happily, and then move your project back.


Read the official symfony1 documentation


You can send pull requests or create an issue.