What is the best way to deploy a symfony3 project? How to do it on clean ftp?
Googling, I came across Capifony, but according to the idea it does not work with the third version of symfony.

    1 answer 1

    1.Variant

    Symfony Deployment Basics

    Typical steps for deploying a Symfony application include:

    1. You can add your code to the server using some kind of FTP For example, FileZilla
    2. Install your dependencies for vendor (usually done using Composer and can be done before downloading).
    3. Starting database migration or similar tasks for updating the data modification structure.
    4. Clearing the cache.

    Deployment may also include other tasks, such as:

    1. Mark a specific version of your code as output to the source control repository
    2. Creating a temporary bridgehead for building update settings "offline - offline"
    3. Perform any tests available to ensure code and / or server stability
    4. Removing any unnecessary files from the web/directory to keep the production environment, that is, the environment clean.
    5. Clearing external cache systems (like Memcached or Redis ).

    Option 2

    All this is done locally and then using Source Control ( Git , Tortoise ) to upload to the server.

    3.Variant

    There are also tools to help ease the "pain" of deployment. Some of them have been specifically adapted to the requirements of symfony.

    http://symfony.com/doc/current/cookbook/deployment/tools.html#using-build-scripts-and-other-tools