drenso/symfony-deployer-bundle

Deploy scripting bundle for Symfony

Maintainers

Package info

github.com/Drenso/symfony-deployer

Homepage

Language:HTML

Type:symfony-bundle

pkg:composer/drenso/symfony-deployer-bundle

Fund package maintenance!

bobvandevijver

Statistics

Installs: 3 578

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.0.0 2025-10-22 07:35 UTC

This package is auto-updated.

Last update: 2026-03-05 10:37:41 UTC


README

This bundle can be used to configure scripts that should be run during your deployment.

Generate new script

Run bin/console drenso:deployer:generate.

Deployment setup

Just add the following commands to your deployment script, at the required positions:

  • Pre-deployment scripts: bin/console drenso:deployer:pre
  • Post-deployment scripts: bin/console drenso:deployer:post

Command types

This bundle distinguishes between two main command types: always and once. Both can be configured for either the pre or post deployment hook.

Skipping a step

You can use the skipIf method in the script to conditionally skip a script. It will not be marked as executed, so it can still be executed if the condition result changed in the future.