2017 © Pedro Peláez
 

project symfony-custom

The "Symfony Standard Edition" distribution

image

infolaverage/symfony-custom

The "Symfony Standard Edition" distribution

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1286 Forks
  • 0 Open issues
  • 46 Versions
  • 0 % Grown

The README.md

Symfony Standard Edition

Welcome to the Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications., (*1)

This document contains information on how to download, install, and start using Symfony. For a more detailed explanation, see the Installation chapter of the Symfony Documentation., (*2)

1) Installing the Standard Edition

When it comes to installing the Symfony Standard Edition, you have the following options., (*3)

As Symfony uses Composer to manage its dependencies, the recommended way to create a new project is to use it., (*4)

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*5)

curl -s http://getcomposer.org/installer | php

Then, use the create-project command to generate a new Symfony application:, (*6)

php composer.phar create-project infolaverage/symfony-custom path/to/install

Composer will install Symfony and all its dependencies under the path/to/install directory., (*7)

Download an Archive File

To quickly test Symfony, you can also download an archive of the Standard Edition and unpack it somewhere under your web server root directory., (*8)

If you downloaded an archive "without vendors", you also need to install all the necessary dependencies. Download composer (see above) and run the following command:, (*9)

php composer.phar install

2) Checking your System Configuration

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

Execute the check.php script from the command line:, (*11)

php app/check.php

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

Access the config.php script from a browser:, (*13)

http://localhost/path-to-project/web/config.php

If you get any warnings or recommendations, fix them before moving on., (*14)

3) Getting started with Symfony

This distribution is meant to be the starting point for your Symfony applications, but it also contains some sample code that you can learn from and play with., (*15)

A great way to start learning Symfony is via the Quick Tour, which will take you through all the basic features of Symfony2., (*16)

Once you're feeling good, you can move onto reading the official Symfony2 book., (*17)

What's inside?

The InfoLaverage Symfony Custom Edition is configured with the following defaults:, (*18)

  • Twig is the only configured template engine;, (*19)

  • Doctrine ORM/DBAL is configured;, (*20)

  • Swiftmailer is configured;, (*21)

  • Annotations for everything are enabled., (*22)

It comes pre-configured with the following bundles:, (*23)

  • FrameworkBundle - The core Symfony framework bundle, (*24)

  • SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability, (*25)

  • DoctrineBundle - Adds support for the Doctrine ORM, (*26)

  • TwigBundle - Adds support for the Twig templating engine, (*27)

  • SecurityBundle - Adds security by integrating Symfony's security component, (*28)

  • SwiftmailerBundle - Adds support for Swiftmailer, a library for sending emails, (*29)

  • MonologBundle - Adds support for Monolog, a logging library, (*30)

  • AsseticBundle - Adds support for Assetic, an asset processing library, (*31)

  • FOSUserBundle - Adds support for easier and quicker user management, (*32)

  • FOSJsRoutingBundle - Adds support for exposing routing in JavaScript code, (*33)

  • StofDoctrineExtensionsBundle - Integrates DoctrineExtensions to the project, which implements several useful behaviors for Doctrine., (*34)

  • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar, (*35)

  • SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions, (*36)

  • SensioGeneratorBundle (in dev/test env) - Adds code generation capabilities, (*37)

All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license., (*38)

Before using FOSUserBundle, you need to create a custom user class extending the base user class provided by the pre-installed FOSUserBundle. To create it, please consult this [documentation][18]! Also, you will need to set the "fos_user.user_class" to your user class's fully-qualified class name in your config.yml., (*39)

Enjoy!, (*40)

The Versions