10 Home
René Kreijveld edited this page 2026-05-31 08:43:28 +02:00

ddev-joomla

A collection of Bash scripts by René Kreijveld that enhance Joomla development workflows within DDEV.

DDEV is a Docker-based PHP development environment that runs on macOS, Windows (WSL2), and Linux.

Features

  • Create a new DDEV Joomla project with a single command
  • Clone an existing project to a new project name
  • Switch the PHP version of a project with a single command
  • Automatically download and install the latest Joomla version
  • Support for the /api endpoint when running on Nginx
  • Export and import MariaDB database dumps (full database or single table)
  • Create full website backups (database + files)
  • Delete a Joomla project and clean up all resources
  • List all installed Joomla projects (versions 1.0-5.x)
  • Interactively navigate to any Joomla site folder
  • Set correct file and folder permissions

Requirements

A working DDEV installation is required. See ddev.com/get-started for instructions.

Scripts

Script Purpose
jaddsite Create a new DDEV Joomla project
jdelsite Permanently delete a DDEV Joomla project
jclone Clone an existing DDEV Joomla project (including the database) to a new project name
jphpswitch Switch the PHP version of an existing DDEV Joomla project
jdbdump Export the DDEV database to a SQL dump file
jdbdumptable Export a single database table to a SQL dump file
jdbdumpall Export databases of all DDEV Joomla projects
jdbimp Import a SQL dump file into the DDEV database
jbackup Full site backup: database dump + compressed archive
jbackupall Full backup of all DDEV Joomla projects
gosite Interactively navigate to a Joomla site folder
jlistjoomlas List all Joomla sites under the configured root folder
jlatest Download and extract the latest (or a specific) Joomla release
setrights Set correct file (644) and folder (755) permissions
jddev Show all available scripts and their parameters
jddev-update Update all ddev-joomla scripts from GitHub

Quick Start

  1. Install the scripts with a single curl command
  2. Run jaddsite -n mysite -j to create a new Joomla site
  3. Run ddev launch inside the site folder to open it in your browser

Support the Project

If you find this tool useful, please consider making a donation to support further development.