Deployerhttps://deployer.org/ is a useful and my favorite tool for deploying php applications. I'm using it to deploy TYPO3 and Symfony sites. It comes with a lot of recipies for spefic frameworks which actually never fit my requirements or sometimes even don't work.
First we need to install deployer. I recommend using the composer installation inside our ddev environment. To do so excute the follwing command.
ddev composer require --dev deployer/deployer
Why not directly installing it or using the command outside the ddev? -> be sure to use the right php version and have the same setup for ervyone
You can now run deployer with
ddev vendor/bin/dep init
#!/bin/bash## Description: Run deployer inside the web container in the root of the project## Usage: dep## Example: "dep deploy"## ExecRaw: truephp vendor/bin/dep "$@"