PHPackages                             drunomics/contentpool - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. drunomics/contentpool

AbandonedArchivedDrupal-profile[Utility &amp; Helpers](/categories/utility)

drunomics/contentpool
=====================

The contentpool distribution

1.0.0-alpha15(5y ago)72.4k3[2 PRs](https://github.com/drunomics/contentpool/pulls)GPL-2.0-or-laterPHP

Since Aug 27Pushed 4y ago10 watchersCompare

[ Source](https://github.com/drunomics/contentpool)[ Packagist](https://packagist.org/packages/drunomics/contentpool)[ RSS](/packages/drunomics-contentpool/feed)WikiDiscussions 8.x-1.x Synced 3d ago

READMEChangelog (10)Dependencies (18)Versions (23)Used By (0)

Contentpool distribution
========================

[](#contentpool-distribution)

[![Build Status](https://camo.githubusercontent.com/f57476869dbaac43a7d6a74b62f6be870509c70e680e45c27b68dd8929f12c03/68747470733a2f2f7472617669732d63692e6f72672f6472756e6f6d6963732f636f6e74656e74706f6f6c2e7376673f6272616e63683d382e782d312e78)](https://travis-ci.org/drunomics/contentpool)

The contentpool distribution combines the publishing features of the Thunder distribution with powerful content API &amp; replication features!

Status
------

[](#status)

The distribution proved itself very valuable, but it turned out that replication via multiversion is too complex for our use-case - so we switched to a simpler approach.

If you like to continue maintaining the distribution, please get in touch!

Overview
--------

[](#overview)

This repository is the Drupal install profile for the distribution. You'll need a drupal project for installing it. Refer to "Installation" for details.

Satellite sites can use  to easily replicate content based upon configurable replication filters. Content is pulled on a regular basis, while optionally the contentpool pushes changes instantly to selected satellites.

Status
------

[](#status-1)

The distribution is in early development stages, but basically working already. Stayed tuned!

Workflow, Issues
----------------

[](#workflow-issues)

Please file issues the drupal.org issue tracker at . For suggested code changes, please submit pull requests (PRs) to the respective github repo and link them from your drupal.org issue.

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

[](#installation)

### Quick installation

[](#quick-installation)

The distribution can be best tested by using the provided scripts to setup a new Drupal project using the distribution. Furthermore it comes with a ready-to-go docker-compose setup, so you can try the distribution. You'll need once project for the contentpool and one project for a satellite site that connects to the contentpool.

#### 0. Prerequisites

[](#0-prerequisites)

- Install [phapp-cli](https://github.com/drunomics/phapp-cli) in version 0.6.7 or higher. If installed, run `phapp self:update` to ensure you have the latest version.
- Make sure [docker-compose](https://docs.docker.com/compose/) is installed and working. Ensure you do *not* use docker-composer version 1.21, as it contains this [regression](https://github.com/docker/compose/issues/5874). Check your version via `docker-compose --version`. If so, update to version 1.22 which is known to work. See
- Install [lupus-localdev](https://github.com/drunomics/lupus-localdev) to allow launching multiple projects!

#### 1. Setup contentpool

[](#1-setup-contentpool)

Run the following commands:

```
# cd to ~/projects or similar.
git clone git@github.com:drunomics/contentpool.git && cd contentpool
# Check out tag of latest release or stay with the development version.
./scripts/create-project.sh
./scripts/run-server.sh
./scripts/init-project.sh

```

If all worked, you can access your site at The distribution comes with some basic demo content, which is already added in by the init-project script. The demo content is provided by the optional module `contentpool_demo_content`.

If you want to run drush commands, do so from inside the docker container. Run the following commands from *a newly opened terminal*:

```
cd ../contentpool-project
docker-compose exec cli /bin/bash
drush uli

```

#### 2. Setup satellite site:

[](#2-setup-satellite-site)

Run the following commands:

```
# cd to ~/projects or similar.
git clone git@github.com:drunomics/contentpool-client.git && cd contentpool-client
# Check out tag of latest release or stay with the development version.
./scripts/create-project.sh
./scripts/run-server.sh
./scripts/init-project.sh

```

If all worked, you can access your site at

If you want to run drush commands, do so from inside the docker container. Run the following commands from *a newly opened terminal*:

```
cd ../satellite-project
docker-compose exec cli /bin/bash
drush uli

```

Refer to the [usage documentation](https://github.com/drunomics/contentpool-client#usage) to trigger a first replication!

### Regular installation

[](#regular-installation)

The install profile can be added to a Drupal 8 site via composer:

```
  composer require drunomics/contentpool

```

Then install Drupal with while selecting the "Contentpool" distribution. Note that only a composer based installation is supported. Start off with a composer-based Drupal project like [drunomics/drupal-project](https://github.com/drunomics/drupal-project).

Development
-----------

[](#development)

Just follow the above "Quick installation" instructions and edit the install profile content at web/profiles/contrib/contentpool. You can make sure it's a Git checkout by doing:

```
  rm -rf web/profiles/contrib/contentpool
  composer install --prefer-source

```

Running tests
-------------

[](#running-tests)

### Locally, via provided scripts

[](#locally-via-provided-scripts)

After installation with the provided scripts (see above) you can just launch the tests as the following:

```
 ./scripts/create-project.sh
 ./scripts/run-server.sh
 ./scripts/init-project.sh
 ./scripts/run-tests.sh

```

### Manually

[](#manually)

Based upon the manual installation instructions you can launch tests as follows:

```
# Launch tests inside a docker container, so name resolution works thanks to
# docker host aliases and the PHP environment is controlled by the container.

```

docker-compose exec cli ./web/profiles/contrib/contentpool/tests/behat/run.sh

JSON API
--------

[](#json-api)

To read more about the JSON api please read the documentation in [docs/api.md](https://github.com/drunomics/contentpool/tree/8.x-1.x/docs/api.md)

Troubleshooting
---------------

[](#troubleshooting)

- if you have "Access denied" error on db connection then try to remove docker volume(from contentpool-project folder):

    ```
    docker-compose down
    docker volume rm contentpool-project_data-volume
    docker-compose up -d

    ```

Credits
-------

[](#credits)

- [Österreichischer Wirtschaftsverlag GmbH](https://www.drupal.org/%C3%B6sterreichischer-wirtschaftsverlag-gmbh): Initiator, Sponsor
- [drunomics GmbH](https://www.drupal.org/drunomics): Concept, Development, Maintenance

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.8% 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

Every ~52 days

Recently: every ~107 days

Total

15

Last Release

2087d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/132232?v=4)[Wolfgang Ziegler](/maintainers/fago)[@fago](https://github.com/fago)

---

Top Contributors

[![fago](https://avatars.githubusercontent.com/u/132232?v=4)](https://github.com/fago "fago (236 commits)")[![rthideaway](https://avatars.githubusercontent.com/u/5792505?v=4)](https://github.com/rthideaway "rthideaway (40 commits)")[![pagachdrunomics](https://avatars.githubusercontent.com/u/45197243?v=4)](https://github.com/pagachdrunomics "pagachdrunomics (36 commits)")[![archnode](https://avatars.githubusercontent.com/u/247066?v=4)](https://github.com/archnode "archnode (25 commits)")[![mostepaniukvm](https://avatars.githubusercontent.com/u/15616007?v=4)](https://github.com/mostepaniukvm "mostepaniukvm (20 commits)")[![mbm80](https://avatars.githubusercontent.com/u/19147241?v=4)](https://github.com/mbm80 "mbm80 (9 commits)")[![maximilianmikus](https://avatars.githubusercontent.com/u/1254146?v=4)](https://github.com/maximilianmikus "maximilianmikus (9 commits)")[![petarbasic](https://avatars.githubusercontent.com/u/52317999?v=4)](https://github.com/petarbasic "petarbasic (1 commits)")

---

Tags

drupal

### Embed Badge

![Health badge](/badges/drunomics-contentpool/health.svg)

```
[![Health](https://phpackages.com/badges/drunomics-contentpool/health.svg)](https://phpackages.com/packages/drunomics-contentpool)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[drupalwxt/wxt

Project template for Drupal 10 sites built with the WxT distribution.

29159.8k8](/packages/drupalwxt-wxt)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)[localgovdrupal/localgov-project

Project template for the LocalGov Drupal distribution.

1632.1k](/packages/localgovdrupal-localgov-project)[docomoinnovations/cloud_orchestrator

Cloud orchestrator distribution by DOCOMO Innovations, Inc.

108.4k](/packages/docomoinnovations-cloud-orchestrator)

PHPackages © 2026

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