rock-symphony/rock-symphony

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

v2.0.0-alpha4 2017-11-13 08:53 UTC

README

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.

Philosophy

  • 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

Roadmap

  • 1.x
    • Add argument return type hints everywhere (improve IDE static analysis)
    • Fix phpdoc / code inconsistencies
    • composer support
  • 2.x - Descent service container, services auto-injection
  • 3.x - Replace sfLogger with PSR Logger
  • Future
    • 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.

Requirements

PHP 5.4.0 and up. See prerequisites on http://symfony.com/legacy/doc/getting-started/1_4/en/02-Prerequisites

Installation

See http://symfony.com/legacy/doc/getting-started/1_4/en/03-Symfony-Installation

Using Composer as dependency management:

composer require rock-symphony/rock-symphony:^2.0
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.

Documentation

Read the official symfony1 documentation

Contributing

You can send pull requests or create an issue.

Credits