Installing Symfony

Posted under » Symfony on 2 Aug 2020

First, install symfony cli.

wget https://get.symfony.com/cli/installer -O - | bash

I recommend that you make everybody use the "symfony" command, as root

mv /home/anoneh/.symfony/bin/symfony /usr/local/bin/symfony

Once successfully installed test the symfony command

symfony check:requirements

If you are building a traditional web application:

symfony new --full my_project

If you are building a microservice, console application or API:

symfony new my_project

You can learn a lot if you create a demo site.

symfony new my_project_name --demo

I recommend you create an LTS version site.

symfony new --full --version=lts my_project

If you have composer installed, then you are good to go.

Your apache config directory should be the 'public' folder.

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css