nerdery/symfony-standard

This package is abandoned and no longer maintained. The author suggests using the symfony/framework-standard-edition package instead.

The Nerdery maintained fork of "Symfony Standard Edition" distribution

Installs: 317

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 17

Forks: 1 123

Open Issues: 17

Type:project

v2.3.13 2014-10-23 15:12 UTC

This package is not auto-updated.

Last update: 2016-03-17 15:49:20 UTC


README

NOTICE. This fork is deprecated. Please use the Symfony Installer.

This is a Modified fork of the Symfony2 framework, maintained by The Nerdery.

1) Creating a New Project

You can create a new empty nerdery-symfony-standard project by running:

composer.phar create-project nerdery/symfony-standard PATH/TO/INSTALL

You can then generate your app's first bundle with the command:

app/console generate:bundle

2) Installing the project

Once you have the source code of your existing or new project, you can install it using the composer install command to pull in the vendor dependencies:

composer.phar install

Then, use phing to run the setup tasks:

bin/phing install

Lastly, you will need to configure settings in

app/config/parameters.yml

3) Checking your System Configuration

Before starting coding, make sure that your local system is properly configured for Symfony.

Execute the check.php script from the command line:

php app/check.php

The script returns a status code of 0 if all mandatory requirements are met, 1 otherwise.

Access the config.php script from a browser:

http://localhost/path/to/symfony/app/web/config.php

If you get any warnings or recommendations, fix them before moving on.

4) Software Requirements

Required

  • PHP needs to be a minimum version of PHP 5.3.3
  • JSON needs to be enabled
  • ctype needs to be enabled
  • Your PHP.ini needs to have the date.timezone setting

Development

Optional

  • You need to have the PHP-XML module installed
  • You need to have at least version 2.6.21 of libxml
  • PHP tokenizer needs to be enabled
  • mbstring functions need to be enabled
  • iconv needs to be enabled
  • POSIX needs to be enabled (only on *nix)
  • Intl needs to be installed with ICU 4+
  • APC 3.0.17+ (or another opcode cache needs to be installed)
  • PHP.ini recommended settings
    • short_open_tag = Off
    • magic_quotes_gpc = Off
    • register_globals = Off
    • session.autostart = Off

Doctrine

If you want to use Doctrine, you will need to have PDO installed. Additionally, you need to have the PDO driver installed for the database server you want to use.

5) Production Release

You can install a production release level of the software with the following command:

bin/phing release

This will generate assets and configuration appropriate for building on a production server. It generates reports on the software and it creates a zip of the contents in build/release.zip