PHPackages                             acquia/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/contenthub-console

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

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

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

1.10(1y ago)4882.1k↓26%2GPL-2.0-or-laterPHP

Since Jan 14Pushed 9mo ago12 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (32)Used By (0)

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

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

Acquia Cloud Content Hub Console provides a command line tool to execute Acquia Content Hub related commands on all sites that belong to a particular platform, like

- Acquia Cloud
- Acquia Cloud - Multisite
- Acquia Site Factory

One of the most important commands that is provided by this tool is the one that allows you to upgrade your sites from Content Hub 1.x to 2.x by executing a single command and performing all the operations that are required by the upgrade.

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

[](#installation)

Install the package with the latest version of composer:

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

```

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

Create a Platform
=================

[](#create-a-platform)

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

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

```

This command will guide you through the platform creation. Notice that the alias given to this platform will be what you will use later when executing commands remotely.

Usage
=====

[](#usage)

The following are some of the commands that are available to you:

```
./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:check                     [ace-cch] Checks for Scheduled Jobs which are running Content Hub queues.
  ace:cron:create                    [ace-cc] Creates Scheduled Jobs for Acquia Content Hub Export/Import queues.
  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:cron:create              [ace-ccm] Create cron jobs for queues in multi-site environment.
  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.
 ach
  ach:audit:config-uuid              [audit-uuid] Audits configuration entities for empty UUIDs.
  ach:audit:full                     [ach-audit] Audits an existing site and code base to determine if there are any Content Hub level concerns.
  ach:audit:publisher-queue          [ach-apq] Checks whether the publisher queue is empty and there are no queued entities in the publisher tracking table.
  ach:audit:settings                 [ach-as] Audits Content Hub settings for differences between database settings and overridden ones.
  ach:clients                        [ach-cl] Lists the clients registered in the Acquia Content Hub Subscription.
  ach:custom-fields                  [ach-cf] Checks if custom field type implementations are supported by Content Hub.
  ach:drush                          [drush] A wrapper for running Drush commands.
  ach:health-check:interest-diff     [ach-hc-id] Lists the differences between webhook's interest list and export/import tracking tables.
  ach:health-check:webhook-status    [ach-hc-ws] Prints status of Webhooks and if they are suppressed.
  ach:layout-builder-defaults        [ach-lbd] Checks Layout Builder defaults usage.
  ach:migrate:purge-delwh            [ach-pdw] Purges Content Hub Subscription and deletes Webhooks.
  ach:module:version                 [ach-mv] Checks if platform sites have the Content Hub module 2.x version.
  ach:panelizer-check                [ach-pan] Checks use of Panelizer module.
  ach:subscription                   [ach-sub] Sets up the credentials for a Content Hub Subscription.
  ach:upgrade:start                  [ach-ustart] Starts the Upgrade Process from Acquia Content Hub 1.x to 2.x.
  ach:verify-current-site-webhook    [ach-vcsw] Verify if this site's webhook as defined in the configuration is actually registered in the Content Hub service.
  ach:webhook:status                 [ach-ws] Uses the Content Hub Service to collect information about the status of webhooks.
 acsf
  acsf:cron:check                    [acsf-cch] Checks for Scheduled Jobs which are running Content Hub queues.
  acsf:cron:create                   [acsf-cc] Creates Scheduled Jobs for Acquia Content Hub Export/Import queues.
  acsf:cron:list                     [acsf-cl] List Scheduled Jobs
  acsf:database:backup:create        [acsf-dbc] Creates database backups for each site on the ACSF platform.
  acsf:database:backup:delete        [acsf-dbd] Deletes a database backup of a site in the ACSF platform.
  acsf:database:backup:list          [acsf-dbl] List database backups for ACSF sites.
  acsf:database:backup:restore       [acsf-dbr] Restores database backups for ACSF sites.
 backup
  backup:create                      [bc] Creates a backup bundle of Acquia Content Hub Service snapshot and database site backups.
  backup:delete                      [bd] Deletes a backup bundle of Acquia Content Hub Service snapshot and database site backups.
  backup:list                        [bl] List available backup bundles of Content Hub Service snapshots and database site backups.
  backup:restore                     [br] Restores a backup bundle of Acquia Content Hub Service snapshot and database site backups.
 drush
  drush:version                      Checks drush version on the server.
 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.

```

The following command will allow you to upgrade your sites from Content Hub 1.x to 2.x in your platform 'sample-platform'':

```
$./vendor/bin/commoncli ach:upgrade:start @sample-platform

```

Where the platform "sample-platform" has been previously created.

Documentation
-------------

[](#documentation)

API documentation can be generated using [phpDocumentor v3](https://www.phpdoc.org/).
The fastest and easiest way to generate a documentation without pollution:

```
docker run -it --rm -v $(pwd):/data phpdoc/phpdoc:3 -t docs/api -d .
```

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

48

—

FairBetter than 95% of packages

Maintenance50

Moderate activity, may be stable

Popularity42

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity64

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 ~106 days

Recently: every ~205 days

Total

14

Last Release

533d 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

[![amangrover90](https://avatars.githubusercontent.com/u/64907255?v=4)](https://github.com/amangrover90 "amangrover90 (27 commits)")[![ankitsingh0188](https://avatars.githubusercontent.com/u/13728749?v=4)](https://github.com/ankitsingh0188 "ankitsingh0188 (25 commits)")[![abarriosr](https://avatars.githubusercontent.com/u/2301362?v=4)](https://github.com/abarriosr "abarriosr (21 commits)")[![narendradesai](https://avatars.githubusercontent.com/u/25113577?v=4)](https://github.com/narendradesai "narendradesai (12 commits)")[![saxumVermes](https://avatars.githubusercontent.com/u/23458445?v=4)](https://github.com/saxumVermes "saxumVermes (4 commits)")[![jfarrell](https://avatars.githubusercontent.com/u/770483?v=4)](https://github.com/jfarrell "jfarrell (4 commits)")[![jose-oliveira](https://avatars.githubusercontent.com/u/4873515?v=4)](https://github.com/jose-oliveira "jose-oliveira (2 commits)")[![kaynenh](https://avatars.githubusercontent.com/u/786286?v=4)](https://github.com/kaynenh "kaynenh (2 commits)")[![japerry](https://avatars.githubusercontent.com/u/445961?v=4)](https://github.com/japerry "japerry (1 commits)")[![amarlata-tect](https://avatars.githubusercontent.com/u/58686506?v=4)](https://github.com/amarlata-tect "amarlata-tect (1 commits)")[![benclark](https://avatars.githubusercontent.com/u/519185?v=4)](https://github.com/benclark "benclark (1 commits)")[![EclipseGc](https://avatars.githubusercontent.com/u/105393?v=4)](https://github.com/EclipseGc "EclipseGc (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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