DDEV Add-on Registryvinugawade › ddev-civicrm-cli-tools

🚀 DDEV CiviCRM CLI Tools Add-on

Tests for `ddev-civicrm-cli-tools`

This DDEV add-on provides seamless integration of essential CiviCRM CLI tools within your DDEV-managed projects. The add-on simplifies the use of tools like civistrings, civix, coworker, and cv, enhancing the developer experience for CiviCRM projects integrated with CMS platforms such as Drupal and Backdrop.

Table of Contents

Features

  • Simplified Command Execution: Easily run CiviCRM CLI tools directly through DDEV commands.
  • Wide Compatibility: Works seamlessly with Drupal (9, 10, 11), Backdrop, and CiviCRM installations.
  • Error Handling: Provides clear and actionable error messages for missing dependencies or setup issues.
  • Tested Environment: Includes automated BATS tests to validate functionality, ensuring stability and reliability.
  • Support for Multi-Context Projects: Works across local development and production environments with minimal configuration.

Installation

Prerequisites

  • DDEV version 1.19+.
  • PHP 7.4 or higher.
  • Composer installed in your environment.
  • CiviCRM integrated with a supported CMS (Drupal or Backdrop).

Steps

  1. Download the Add-on:
    ddev get vinugawade/ddev-civicrm-cli-tools
    
  2. Restart Your DDEV Project:
    ddev restart
    
  3. Install Required Dependencies:
    ddev composer require civicrm/cli-tools
    
  4. Verify Installation: Run any CLI command to ensure proper setup:
    ddev cv --version
    

Usage

The add-on exposes the following commands: