la documentazione piĆ¹ efficace:

bundles notevoli:

Clone the master branch from https://github.com/symfony/symfony-standard and then use composer to install the dependencies:

php bin/composer.phar install

create your application(Boundle in sf2 terms)

php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
<VirtualHost *:80>
    ServerName www.domain.com.localhost
    ServerAlias domain.com.localhost
    ServerAdmin webmaster@localhost
 
    DocumentRoot /home/user/www/project/web
    <Directory /home/user/www/project/web/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*)$ /app.php [QSA,L]
        </IfModule>
    </Directory>
</VirtualHost>
php app/console cache:clear --env=prod --no-debug
php app/console assets:install web_directory
php app/console assetic:dump web_directory