/symfony1_5

Fork of symfony 1.4 with DIC, form enhancements, latest Swiftmailer, better performance, composer compatible and PHP 7.0 support

Primary LanguagePHPMIT LicenseMIT

Tormi's fork

Build Status

This fork contains some updates that were made for Symfony 1 long time ago.

Nothing backward incompatible.

Use version ^1.6 in composer.json

UPDATES

17th December 2013

  • Cache clean fix (prevent unlink errors)

19th December 2013

  • sfFinder glob_to_regex escape fix

6th November 2014

  • New options in settings.yml
    • query_backtrace - Enables query backtrace
    • query_backtrace_full - Backtrace includes symfony core.

28th September 2015

  • New options in settings.yml
    • redirect_backtrace - Traces redirects initiated from \sfWebController::redirect

24th October 2015

  • Updated Doctrine form filter. Added abstract version of addDateQuery() method called abstractAddDateQuery(). Can be used in your custom date filters in addXxxxxDateQuery() methods.

16th November 2015

In tormit/doctrine1_5, friendsofsymfony1/doctrine1 package

  • Updated Doctrine collection. Added \Doctrine_Collection::filter() to filter records by callback.

22nd November 2020

  • \sfTask::$currentlyRunningTask (for use in Doctrine plugin for output)

Doctrine updates

https://github.com/tormit/doctrine1_5/blob/master/README.md

FriendsOfSymfony1 README

About this version

This is a community driven fork of symfony 1, as official support has been interrupted in November 2012.

Do not use it for new projects: this version is great to improve existing symfony1 applications, but Symfony5 is the way to go today.

All the enhancements and BC breaks are listed in the WHATS_NEW file, this include:

  • DIC
  • Composer support
  • PHP 7.2 support
  • performance boost
  • new widgets & validators
  • some tickets fixed from the symfony trac
  • ...

About symfony

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.3.4 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

Option 1: Using Composer as dependency management:

composer require friendsofsymfony1/symfony1 "1.5.*"
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.

Option 2: Using Git submodules:

git init # your project
git submodule add https://github.com/FriendsOfSymfony1/symfony1.git lib/vendor/symfony
git submodule update --init --recursive

Documentation

Read the official symfony1 documentation

Contributing

You can send pull requests or create an issue.