https://github.com/rock-symphony/rock-symphony
:metal: A resurrected symfony1 fork that will move forward.
https://github.com/rock-symphony/rock-symphony
framework php symfony1
Last synced: 2 months ago
JSON representation
:metal: A resurrected symfony1 fork that will move forward.
- Host: GitHub
- URL: https://github.com/rock-symphony/rock-symphony
- Owner: rock-symphony
- License: mit
- Created: 2017-03-10T22:48:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-12-22T16:59:08.000Z (3 months ago)
- Last Synced: 2025-12-24T04:55:28.897Z (3 months ago)
- Topics: framework, php, symfony1
- Language: PHP
- Homepage:
- Size: 5.34 MB
- Stars: 19
- Watchers: 10
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Copyright: COPYRIGHT.md
Awesome Lists containing this project
README

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

RockSymphony Framework
======================
It's a fork of [symfony1](https://github.com/lexpress/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.
If you start a new project, consider using latest Laravel, Symfony
or another *modern maintained* framework of your choice.
Philosophy
----------
- [Semantic versioning](http://semver.org/)
- Incremental BC-breaking updates that bring something new to your symfony1 project
- Replace legacy sf1 parts with modern libraries reducing framework footprint to the very minimum
Roadmap
-------
- ✓ ~~Add argument return type hints everywhere (improve IDE static analysis)~~
- ✓ ~~Fix phpdoc / code inconsistencies~~
- ✓ ~~composer support~~
- ✓ ~~Drop sfCoreAutoload~~
- ✓ ~~Replace sfYaml with Symfony\Yaml~~
- ✓ ~~Drop ArrayAccess~~
- ✓ ~~Drop Iterator implementation in favor of IteratorAggregate~~
- Properties, arguments and return types everywhere
- Fix sfApplicationConfiguration / ProjectConfiguration
- Replace sfLogger with PSR Logger
- Descent service container, services auto-injection
- CommandBus + JobQueue
- Logging with Logger object (not via sfEventDispatcher)
- Drop sfContext
- Namespaced controllers
- PSR HTTP Requests
- .env
- symfony/console
- Replace services.yml with pure-PHP services.php
- Drop module-level .yml configurations support
- Symfony2-like Bundles or Laravel-like ServiceProviders instead of plugins
Requirements
------------
Starting from PHP 5.6.0 and then goes up with every new major version.
The latest v11.0 release requires PHP 7.4.
Migrating to Rock Symphony
--------------------------
It's not recommended to start a new project with Rock Symphony.
It's only intended for old projects to migrate to.
1. Start using [Composer](http://getcomposer.org/doc/00-intro.md) for your project,
if you haven't done so yet.
2. Remove from your codebase symfony framework you use
(stock symfony1, lexpress/symfony1 or whatever you have).
3. Require `rock-symphony/rock-symphony`:
composer require rock-symphony/rock-symphony:^1.6
4. Follow [Upgrade guide](./UPGRADE.md) to upgrade your codebase step by step:
- `composer require rock-symphony/rock-symphony:^1.7`
- `composer require rock-symphony/rock-symphony:^3.0` (note: version `2.0` is intentionally skipped)
- `composer require rock-symphony/rock-symphony:^4.0`
- `composer require rock-symphony/rock-symphony:^5.0`
- `composer require rock-symphony/rock-symphony:^6.0`
- `composer require rock-symphony/rock-symphony:^7.0`
- `composer require rock-symphony/rock-symphony:^8.0`
- `composer require rock-symphony/rock-symphony:^9.0`
- `composer require rock-symphony/rock-symphony:^10.0`
- `composer require rock-symphony/rock-symphony:^11.0`
- `composer require rock-symphony/rock-symphony:^12.0`
Contributing
------------
You can send pull requests or create an issue.
Credits
-------
- Original symfony1 implementation by [SensioLabs](https://sensiolabs.com/)
- symfony1 v1.5 fork maintained by [L'Express Group](https://github.com/LExpress)
- *New Rocker* font by [Google Fonts Directory](https://fonts.google.com/specimen/New+Rocker)
- *Hand* icon by [Hum from TheNounProject](https://thenounproject.com/Hum/)