Skip to content

Instantly share code, notes, and snippets.

Avatar

Julien Janvier jjanvier

View GitHub Profile
@jjanvier
jjanvier / deploy.php
Last active Jun 13, 2021
Deploying a Symfony4 Application with Deployer
View deploy.php
<?php
// see the full blog post on http://jjanvier.com/blog/deploying-a-symfony4-application-with-deployer
namespace Deployer;
require 'recipe/symfony4.php';
// if .env variables are needed here, check https://github.com/deployphp/deployer/issues/1446
// and require __DIR__ . '/vendor/symfony/dotenv/Dotenv.php';