henningm/symfony-minimal

There is no license information available for the latest version (v2.2.0) of this package.

A minimal skeleton for development using the Symfony2 framework

Installs: 118

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 1 117

Type:project

v2.2.0 2013-03-18 10:26 UTC

This package is not auto-updated.

Last update: 2024-12-21 14:07:33 UTC


README

  1. Installing

Install composer:

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

Then, use the create-project command to generate a new Symfony application:

php composer.phar create-project henningm/symfony-minimal path/to/install

Composer will install Symfony and all its dependencies under the path/to/install directory.

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

What's inside?

It comes pre-configured with the following bundles:

  • FrameworkBundle - The core Symfony framework bundle

  • SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability

  • TwigBundle - Adds support for the Twig templating engine

  • AsseticBundle - Adds support for Assetic, an asset processing library

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

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

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