PHPackages                             pantheon-systems/example-drupal8-circle-composer - 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. [Framework](/categories/framework)
4. /
5. pantheon-systems/example-drupal8-circle-composer

AbandonedArchivedProject[Framework](/categories/framework)

pantheon-systems/example-drupal8-circle-composer
================================================

Template for creating a project to manage a Drupal site with Composer, and test with Circle CI. Use `composer create-project` to make your own project, or, if you prefer to clone the git repository, run `composer install` followed by `bin/init-new-project` to replace this file and set up your starting project.

1.0.2(10y ago)117[1 issues](https://github.com/pantheon-systems/example-drupal8-circle-composer/issues)MITPHP

Since Aug 4Pushed 10y ago20 watchersCompare

[ Source](https://github.com/pantheon-systems/example-drupal8-circle-composer)[ Packagist](https://packagist.org/packages/pantheon-systems/example-drupal8-circle-composer)[ RSS](/packages/pantheon-systems-example-drupal8-circle-composer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

The Current Version of This Project is Obsolete
-----------------------------------------------

[](#the-current-version-of-this-project-is-obsolete)

This project uses a "split core" technique to manage your Drupal 8 dependencies with Composer. As of Drupal 8.0.0-rc1, you may add additional dependencies to your site directly using `composer require` from your Drupal Root.

See: [Avoiding “Dependency Hell” with Site-Local Drush](https://pantheon.io/blog/avoiding-dependency-hell-site-local-drush)

Old Documentation
-----------------

[](#old-documentation)

This project utilizes the [pantheon-systems/circle-scripts](https://github.com/pantheon-systems/circle-scripts) project in order to achieve the following things:

- Specify the Drupal modules, themes and libraries you use in a composer.json file, and build them with Composer.
- Automatically build components via Circle CI every commit.
- Use Behat to run tests on your site from Circle.
- Automatically deploy your site to your Pantheon dev environment, or some other branch, every time the tests pass.

This project is based on the project [drupal-composer/drupal-project](https://github.com/drupal-composer/drupal-project).

Create a New Project
--------------------

[](#create-a-new-project)

Before you begin, you should first [install composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

There are two ways to quickly create a new project for your Drupal site, using this project as a template.

#### Via GitHub

[](#via-github)

- [Fork this project in GitHub](https://github.com/pantheon-systems/example-drupal8-circle-composer#fork-destination-box)
- Clone your fork locally
- `$ cd example-drupal8-circle-composer`
- `composer install`
- `$ ./bin/init-new-project`

The `init-new-project` script will set up the local files you will need, and commit them to your local git repository.

#### Via Composer

[](#via-composer)

```
$ composer create-project pantheon-systems/example-drupal8-circle-composer my-new-project-name

```

The `composer create-project` will download the base files you need for your new project, then run the `init-new-project` script to set things up. The results are committed to a local git repository. You might wish to [push your repository up to GitHub](https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/).

Configuration
-------------

[](#configuration)

Once you have created a new project, you will still need to do some customization steps to suit your particular needs. See the [circle-scripts README](https://github.com/pantheon-systems/circle-scripts) for instructions on how to do this.

The folder 'scripts' contain some starting scripts that you may use to customize the environment you need for your tests.

Testing Locally
---------------

[](#testing-locally)

```
$ ./bin/local-test

```

The `local-test` script will set up a local Drupal site, run it with the PHP built-in webserver, and then run the Behat test suite. This is analagous to what happens on Circle on every commit.

Repository Management
---------------------

[](#repository-management)

You may place your custom modules and themes in `drupal/sites/all/modules/custom` and `drupal/sites/all/themes/custom`, respectively, and commit them to the same repository that contains your composer.json file.

If you prefer, you may instead create a Composer project for your custom components, and add them to your composer.json file. It is not necessary to make your code publicly accessible in order to do this; it is possible to create a local composer package definition that points to a private GitHub repository. See [Creating your very own Composer Package](https://knpuniversity.com/screencast/question-answer-day/create-composer-package) for details on different ways to create composer packages.

Additional modules may be added using Composer:

```
$ cd my-new-project-name
$ composer require drupal/devel '8.*'

```

This will put the specified module in `sites/all/modules/contrib`, and will also update your composer.json file with the information on the module that was just added.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

3930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b34cc6bd882277b6c6dda19bf6631ae5c3a909fd667c826a15121642cdc051b2?d=identicon)[greg.1.anderson](/maintainers/greg.1.anderson)

![](https://www.gravatar.com/avatar/5a89f5f15357797cbd6ec7833a28626478ae3c0ceb5fa1faa8a26d0960584c65?d=identicon)[pantheon-systems](/maintainers/pantheon-systems)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (10 commits)")

### Embed Badge

![Health badge](/badges/pantheon-systems-example-drupal8-circle-composer/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-systems-example-drupal8-circle-composer/health.svg)](https://phpackages.com/packages/pantheon-systems-example-drupal8-circle-composer)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k3](/packages/elgg-elgg)[govcms/govcms

GovCMS Drupal Distribution

18997.1k3](/packages/govcms-govcms)[goalgorilla/open_social

Open Social is a distribution for building social communities and intranets.

190458.8k](/packages/goalgorilla-open-social)[drupalwxt/wxt

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

29159.8k8](/packages/drupalwxt-wxt)[drupalcommerce/project-base

Commerce 2.x project template

5451.6k](/packages/drupalcommerce-project-base)

PHPackages © 2026

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