PHPackages                             upstreamable/ddev-basin-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. upstreamable/ddev-basin-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

upstreamable/ddev-basin-deploy
==============================

Add commands to ddev-basin to deploy with ansistrano

1.0.0(1mo ago)0503↓29.7%GPL-3.0-or-laterPHPCI passing

Since May 7Pushed 1mo agoCompare

[ Source](https://github.com/upstreamable/ddev-basin-deploy)[ Packagist](https://packagist.org/packages/upstreamable/ddev-basin-deploy)[ RSS](/packages/upstreamable-ddev-basin-deploy/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![add-on registry](https://camo.githubusercontent.com/535c6b79b2b10d1557390c0ef07f79108ebf3bbd13ddba98188c4dd68bc1b92d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f444445562d4164642d2d6f6e5f52656769737472792d626c7565)](https://addons.ddev.com)[![tests](https://github.com/upstreamable/ddev-basin-deploy/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/upstreamable/ddev-basin-deploy/actions/workflows/tests.yml?query=branch%3Amain)[![last commit](https://camo.githubusercontent.com/f8465c986b9b39969bbc314d9e9517a0257cb690feb3f242173d02542c429233/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f757073747265616d61626c652f646465762d626173696e2d6465706c6f79)](https://github.com/upstreamable/ddev-basin-deploy/commits)[![release](https://camo.githubusercontent.com/2213770137682ca6b006eea56c117f516c19517b7536a7ffbad55c1096d573ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f757073747265616d61626c652f646465762d626173696e2d6465706c6f79)](https://github.com/upstreamable/ddev-basin-deploy/releases/latest)

DDEV Basin Deploy
=================

[](#ddev-basin-deploy)

Overview
--------

[](#overview)

This add-on provides an [Ansistrano](https://github.com/ansistrano/deploy)strategy to deploy a [Basin](https://github.com/upstreamable/ddev-basin)project based on [DDEV](https://ddev.com/).

It deploys a DDEV project on a server that also runs DDEV using the same configuration but with the hardened images following the [docs](https://docs.ddev.com/en/stable/users/topics/hosting/).

Only Drupal supported so far.

Installation
------------

[](#installation)

```
ddev add-on get upstreamable/ddev-basin-deploy
ddev restart
```

Requirements
============

[](#requirements)

A remote server running DDEV and rsync installed. Run the following command on the server before the first deploy:

```
ddev config global --instrumentation-opt-in=false --router-bind-all-interfaces --omit-containers=ddev-ssh-agent --use-hardened-images --performance-mode=none --use-letsencrypt --letsencrypt-email=you@example.com

```

To prepare it better for hosting and avoid interactive questions on the DDEV CLI that would stall the deploy. Adapt for the letsencrypt email and the instrumentation preferences.

Ensure cron is installed and running if you require cron jobs.

Usage
-----

[](#usage)

Once installed the deployment files need to be generated and adjusted Run the following command

```
ddev basin deploy:generate

```

And inspect what was created in `.ddev/basin-deploy/`. The files `before-symlink-tasks.yaml`, `after-update-code.yml` and `playbook.yaml`are not meant to be edited.

There is subfolders such as `.ddev/basin-deploy/production/` for an environment with the different configurations such as the domain names for the environment or the SMTP server to use.

Before running the deployment a remote server is needed.

Add to `.ddev/.env.web` the following variables

```
ANSIBLE_REMOTE_USER=ubuntu
ANSIBLE_REMOTE_HOST=1.1.1.1

```

Replace by the values you would use in a ssh connection such as `ubuntu@1.1.1.1`. The user need to be able to run DDEV commands.

After the configuration restart the DDEV project and run:

```
ddev basin deploy:release

```

For every deployment. Defaults to the production environment.

Features
========

[](#features)

The deploy takes care of running the deploy commands such as `drush deploy`, configures the traefik proxy for the domains specified and configures the cron daemon tu run it periodically for the project.

Credits
-------

[](#credits)

**Contributed and maintained by [@upstreamable](https://github.com/upstreamable)**

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37020054?v=4)[Upstreamable](/maintainers/upstreamable)[@upstreamable](https://github.com/upstreamable)

---

Top Contributors

[![rodrigoaguilera](https://avatars.githubusercontent.com/u/655187?v=4)](https://github.com/rodrigoaguilera "rodrigoaguilera (24 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

ddev-get

### Embed Badge

![Health badge](/badges/upstreamable-ddev-basin-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/upstreamable-ddev-basin-deploy/health.svg)](https://phpackages.com/packages/upstreamable-ddev-basin-deploy)
```

###  Alternatives

[sarfraznawaz2005/servermonitor

Laravel package to periodically monitor the health of your server and website.

19613.5k1](/packages/sarfraznawaz2005-servermonitor)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4676.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.5k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
