nerdery / symfony-standard
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
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: 1.2.*
- doctrine/orm: ~2.2,>=2.2.3
- incenteev/composer-parameter-handler: ~2.0
- jms/di-extra-bundle: 1.4.*
- jms/security-extra-bundle: 1.5.*
- sensio/distribution-bundle: 2.3.*
- sensio/framework-extra-bundle: 2.3.*
- sensio/generator-bundle: 2.3.*
- symfony/assetic-bundle: 2.3.*
- symfony/monolog-bundle: 2.3.*
- symfony/swiftmailer-bundle: 2.3.*
- symfony/symfony: 2.3.*
- twig/extensions: 1.0.*
Requires (Dev)
- pdepend/pdepend: ~1.1
- phing/phing: ~2.8
- phpdocumentor/phpdocumentor: ~2.6
- phploc/phploc: ~2.0
- phpmd/phpmd: ~1.5
- phpunit/phpunit: ~4.1
- sebastian/phpcpd: ~2.0
- squizlabs/php_codesniffer: ~1.5
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
- You must have Composer installed
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