PHPackages                             acquia/cloud-contenthub-console - 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. [CLI &amp; Console](/categories/cli)
4. /
5. acquia/cloud-contenthub-console

ActiveProject[CLI &amp; Console](/categories/cli)

acquia/cloud-contenthub-console
===============================

A package providing Acquia Cloud commands for the CommonConsole command line interface.

1.5(3y ago)1881.4k↓26.4%11GPL-2.0-or-laterPHP

Since Jan 18Pushed 9mo ago12 watchersCompare

[ Source](https://github.com/acquia/cloud-contenthub-console)[ Packagist](https://packagist.org/packages/acquia/cloud-contenthub-console)[ RSS](/packages/acquia-cloud-contenthub-console/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (8)Versions (16)Used By (1)

Acquia Cloud Content Hub Console
================================

[](#acquia-cloud-content-hub-console)

Acquia Cloud Content Hub Console provides a command line tool to execute commands on all sites that belong to an Acquia Cloud subscription. Depending on the platform that you create, you can execute the same command on all your Acquia Cloud sites or your Acquia Cloud Multi-sites.

Installation
============

[](#installation)

Install the package with the latest version of composer:

```
$composer require acquia/cloud-contenthub-console
$composer install

```

Note that this package must be installed locally and in the codebase on your remote platform (Acquia Cloud) in order for commands to work.

Create An Acquia Cloud Platform
===============================

[](#create-an-acquia-cloud-platform)

In order for this tool to execute commands remotely on your Acquia Cloud Platform, you would need to first create a platform with the following command:

```
$./vendor/bin/commoncli pc

```

This command will guide you to create a platform where to execute commands to. Notice that the alias given to this platform will be what you will use later to point to when executing commands.

When the command ask you to choose an application, you can select multiple ones separated by commas.

```
./vendor/bin/commoncli pc
This command will step you through the process of creating a new platform on which to perform common console commands.
Platform Type:
  [0] SSH
  [1] DDEV
  [2] Acquia Cloud
  [3] Acquia Cloud Multi Site
 > 2
Name: Test Acquia Cloud Platform
Alias: test-ac-platform
Acquia Cloud API Key? (Instructions: https://docs.acquia.com/acquia-cloud/develop/api/auth/) 00000000-0000-0000-0000-000000000000
Acquia Cloud Secret? 1111111111111111111111111111111111111111111=
Choose an Application:
  [00000000-bff1-4bb3-b1ec-9f3f6331be4a] test0000001
  [00000000-3d80-4dac-99e5-6c96ee297c31] test0000002
  [00000000-4fc4-102f-a6e5-1231390f9c61] test0000003
  [00000000-2db6-4b55-9b74-92f578fc0c5d] test0000004
  [00000000-2e84-44bb-ab30-47984919871f] test0000005
  [00000000-95ff-42eb-aafb-4db25a3255d9] test0000006
  [00000000-6086-4838-b45e-93df289ea6d8] test0000007
  [00000000-50f9-4c06-8d16-6a8c540d25e5] test0000008
  [00000000-c351-41f6-a0aa-2e07f4d9bcac] test0000009

 > test0000002
Choose an Environment:
  [dev ] dev
  [prod] prod
  [test] test
 > dev
+-------------------------------+----------------------------------------------+
| Property                      | Value                                        |
+-------------------------------+----------------------------------------------+
| platform.type                 | Acquia Cloud                                 |
| platform.name                 | Test Acquia Cloud Platform                   |
| platform.alias                | test-ac-platform                             |
| acquia.cloud.api_key          | 00000000-0000-0000-0000-000000000000         |
| acquia.cloud.api_secret       | 1111111111111111111111111111111111111111111= |
| acquia.cloud.application_ids  | 00000000-3d80-4dac-99e5-6c96ee297c31         |
| acquia.cloud.environment.name | dev                                          |
+-------------------------------+----------------------------------------------+
Are these config correct? yes
Console now trying to locate vendor directory within your platform.
Vendor directory located successfully and saved in your platform configuration.
"We assume that all your sites are using HTTPS."
Is this assumption correct?yes
Successfully saved.

```

Usage
=====

[](#usage)

The following are some of the commands that are available to you to be used once deployed to Acquia Cloud:

```
./vendor/bin/commoncli
CommonConsole 0.0.1

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --uri[=URI]       The url from which to mock a request.
      --bare            Prevents output styling.
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help                               Displays help for a command
  list                               Lists commands
 ace
  ace:cron:list                      [ace-cl] Lists Scheduled Jobs.
  ace:database:backup:create         [ace-dbcr] Creates database backups.
  ace:database:backup:delete         [ace-dbdel] Deletes database backups.
  ace:database:backup:list           [ace-dbl] Lists database backups.
  ace:database:backup:restore        [ace-dbres] Restores database backups.
 ace-multi
  ace-multi:database:backup:create   [ace-dbcrm] Creates database backups for ACE Multi-site environments.
  ace-multi:database:backup:delete   [ace-dbdelm] Deletes database backups for ACE Multi-site environments.
  ace-multi:database:backup:list     [ace-dblm] Lists database backups for ACE Multi-site environments.
  ace-multi:database:backup:restore  [ace-dbresm] Restores database backups for ACE Multisite environments.
 platform
  platform:create                    [pc] Create a new platform on which to execute common console commands.
  platform:delete                    [pdel] Deletes the specified platform.
  platform:describe                  [pd] Obtain more details about a platform.
  platform:list                      [pl] List available platforms.
  platform:sites                     List available sites registered in the platform.

```

Now that you have a platform, you can execute a command like:

```
$./vendor/bin/commoncli ace:database:backup:create @test-ac-platform

```

This command will execute a database creation in all sites in the "Test Acquia Cloud Platform".

Copyright and license
---------------------

[](#copyright-and-license)

Copyright © 2021 Acquia Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance42

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~121 days

Recently: every ~168 days

Total

7

Last Release

1191d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/514789?v=4)[Acquia](/maintainers/acquia)[@acquia](https://github.com/acquia)

![](https://www.gravatar.com/avatar/7edf5493542586a3c7e6f9a8d154409c649d712863b2dcc9540a25a415759a46?d=identicon)[saxum\_vermes](/maintainers/saxum_vermes)

![](https://www.gravatar.com/avatar/165b5d2e8fe664c41031521de9d2951ae2fc5d7a98fd3ead95c1fd3bb8e1af59?d=identicon)[amangrover90](/maintainers/amangrover90)

![](https://www.gravatar.com/avatar/23ab6e28fb27b8b88e78b7cb90f1e5a51a740ab4f6df0dbd00abca2025a14abe?d=identicon)[n4r3n](/maintainers/n4r3n)

![](https://www.gravatar.com/avatar/cf387cf46c3e651d104ca8045f5542a74dc016fff0af9d51d390db5ffa6341ba?d=identicon)[kaynen](/maintainers/kaynen)

![](https://www.gravatar.com/avatar/dc5b96c131f8f529a0eeedd9d0d5f481ea2a800bc52aba9bc0f7814e69eed4c2?d=identicon)[abarriosr](/maintainers/abarriosr)

---

Top Contributors

[![narendradesai](https://avatars.githubusercontent.com/u/25113577?v=4)](https://github.com/narendradesai "narendradesai (21 commits)")[![abarriosr](https://avatars.githubusercontent.com/u/2301362?v=4)](https://github.com/abarriosr "abarriosr (18 commits)")[![amangrover90](https://avatars.githubusercontent.com/u/64907255?v=4)](https://github.com/amangrover90 "amangrover90 (14 commits)")[![saxumVermes](https://avatars.githubusercontent.com/u/23458445?v=4)](https://github.com/saxumVermes "saxumVermes (8 commits)")[![kaynenh](https://avatars.githubusercontent.com/u/786286?v=4)](https://github.com/kaynenh "kaynenh (4 commits)")[![jfarrell](https://avatars.githubusercontent.com/u/770483?v=4)](https://github.com/jfarrell "jfarrell (3 commits)")[![EclipseGc](https://avatars.githubusercontent.com/u/105393?v=4)](https://github.com/EclipseGc "EclipseGc (2 commits)")[![ankitsingh0188](https://avatars.githubusercontent.com/u/13728749?v=4)](https://github.com/ankitsingh0188 "ankitsingh0188 (2 commits)")[![jose-oliveira](https://avatars.githubusercontent.com/u/4873515?v=4)](https://github.com/jose-oliveira "jose-oliveira (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/acquia-cloud-contenthub-console/health.svg)

```
[![Health](https://phpackages.com/badges/acquia-cloud-contenthub-console/health.svg)](https://phpackages.com/packages/acquia-cloud-contenthub-console)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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