PHPackages                             pfrenssen/drupal-site-template - 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. pfrenssen/drupal-site-template

ActiveProject

pfrenssen/drupal-site-template
==============================

A template for setting up a Drupal site.

198PHP

Since Sep 11Pushed 7y agoCompare

[ Source](https://github.com/pfrenssen/drupal-site-template)[ Packagist](https://packagist.org/packages/pfrenssen/drupal-site-template)[ RSS](/packages/pfrenssen-drupal-site-template/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Template for Drupal projects
============================

[](#template-for-drupal-projects)

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

[![Build Status](https://camo.githubusercontent.com/17060b545de365cd091fdeeb9e14a8b0ae95cba3473cb110d31e3763295a825f/68747470733a2f2f7472617669732d63692e6f72672f706672656e7373656e2f64727570616c2d736974652d74656d706c6174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pfrenssen/drupal-site-template.svg?branch=master)

This project template provides a starter kit for creating a website using Drupal 8.

Starting a new project is a 4 step procedure:

0. Prerequisites
----------------

[](#0-prerequisites)

You need to have the following software installed on your local development environment:

- [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).
- [Docker Compose](https://docs.docker.com/compose/install/)

1. Create the project
---------------------

[](#1-create-the-project)

The project can be created using the following command:

```
$ composer create-project pfrenssen/drupal-site-template --stability=dev my-drupal-project

```

This will download the starterkit into the `my-drupal-project` folder and a wizard will ask you for the project name and your organisation. It will use this information to personalize your project's configuration files.

The installer will then download all dependencies for the project. This process takes several minutes. At the end you will be asked whether to remove the existing version history. It is recommended to confirm this question so that you can start your project with a clean slate.

2. Configuration
----------------

[](#2-configuration)

First let's move into the project's folder:

```
$ cd my-drupal-project

```

The project ships with default configuration that is intended to run the website on the Docker containers we provide. If you are content with using these, you can skip directly to step 3.

If you want to run the website using your locally installed LAMP stack, you will want to change the configuration to match your local system.

Customize the default configuration values by copying `runner.yml.dist` to 'runner.yml`:

```
$ cp runner.yml.dist runner.yml

```

Now edit `runner.yml` with your most beloved text editor. You will want to set the database host to `localhost`, and provide the correct database name and credentials. Also update the `base_url` and Selenium path to match your local environment.

3. Installation
---------------

[](#3-installation)

### 3.1. Using Docker

[](#31-using-docker)

Copy docker-compose.yml.dist into docker-compose.yml.

You can make any alterations you need for your local Docker setup. However, the defaults should work out of the box.

Download and start the supplied Docker images:

```
$ docker-compose up -d

```

Next, install the website:

```
$ docker-compose exec web ./vendor/bin/run drupal:site-install

```

Once this completes your website will be available on

To verify whether everything works as expected, you can run the example Behat test suite:

```
$ docker-compose exec web ./vendor/bin/behat

```

### 3.2. Using a local LAMP stack

[](#32-using-a-local-lamp-stack)

Install the website using the task runner:

```
$ ./vendor/bin/run drupal:site-install

```

The site will be available through your local web server.

To verify whether everything works as expected, you can run the example Behat test suite:

```
$ ./vendor/bin/behat

```

4. Commit and push
------------------

[](#4-commit-and-push)

The final step is to create a new git repository and commit all the files. A `.gitignore` file is provided to ensure you only commit your own project files.

```
$ git init
$ git add .
$ git commit -m "Initial commit."

```

Now you are ready to push your project to your chosen code hosting service.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e8002bbd41b86bc1aa39bfd23074f88c0816d46e511fefa26701d176286d396?d=identicon)[pfrenssen](/maintainers/pfrenssen)

---

Top Contributors

[![webflo](https://avatars.githubusercontent.com/u/123946?v=4)](https://github.com/webflo "webflo (125 commits)")[![pfrenssen](https://avatars.githubusercontent.com/u/442924?v=4)](https://github.com/pfrenssen "pfrenssen (73 commits)")[![weitzman](https://avatars.githubusercontent.com/u/7740?v=4)](https://github.com/weitzman "weitzman (11 commits)")[![ademarco](https://avatars.githubusercontent.com/u/153362?v=4)](https://github.com/ademarco "ademarco (9 commits)")[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (4 commits)")[![derhasi](https://avatars.githubusercontent.com/u/118502?v=4)](https://github.com/derhasi "derhasi (4 commits)")[![netlooker](https://avatars.githubusercontent.com/u/7669736?v=4)](https://github.com/netlooker "netlooker (3 commits)")[![jmolivas](https://avatars.githubusercontent.com/u/366275?v=4)](https://github.com/jmolivas "jmolivas (3 commits)")[![imanoleguskiza](https://avatars.githubusercontent.com/u/14978592?v=4)](https://github.com/imanoleguskiza "imanoleguskiza (3 commits)")[![zaporylie](https://avatars.githubusercontent.com/u/1690685?v=4)](https://github.com/zaporylie "zaporylie (2 commits)")[![bradjones1](https://avatars.githubusercontent.com/u/981966?v=4)](https://github.com/bradjones1 "bradjones1 (2 commits)")[![jcnventura](https://avatars.githubusercontent.com/u/329663?v=4)](https://github.com/jcnventura "jcnventura (2 commits)")[![jonhattan](https://avatars.githubusercontent.com/u/482058?v=4)](https://github.com/jonhattan "jonhattan (2 commits)")[![jorissteyn](https://avatars.githubusercontent.com/u/448056?v=4)](https://github.com/jorissteyn "jorissteyn (2 commits)")[![keopx](https://avatars.githubusercontent.com/u/537583?v=4)](https://github.com/keopx "keopx (1 commits)")[![michaellenahan](https://avatars.githubusercontent.com/u/219397?v=4)](https://github.com/michaellenahan "michaellenahan (1 commits)")[![mickaelperrin](https://avatars.githubusercontent.com/u/5844226?v=4)](https://github.com/mickaelperrin "mickaelperrin (1 commits)")[![mikran](https://avatars.githubusercontent.com/u/820244?v=4)](https://github.com/mikran "mikran (1 commits)")[![ModulesUnraveled](https://avatars.githubusercontent.com/u/1663810?v=4)](https://github.com/ModulesUnraveled "ModulesUnraveled (1 commits)")[![iainhouston](https://avatars.githubusercontent.com/u/537596?v=4)](https://github.com/iainhouston "iainhouston (1 commits)")

### Embed Badge

![Health badge](/badges/pfrenssen-drupal-site-template/health.svg)

```
[![Health](https://phpackages.com/badges/pfrenssen-drupal-site-template/health.svg)](https://phpackages.com/packages/pfrenssen-drupal-site-template)
```

PHPackages © 2026

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