PHPackages                             ohanome/project-template-drupal - 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. ohanome/project-template-drupal

ActiveProject[Framework](/categories/framework)

ohanome/project-template-drupal
===============================

Project template for Drupal 9 projects with a relocated document root

v10.0.0(3y ago)08GPL-2.0-or-laterPHPPHP ^8.1

Since Oct 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ohanome/project-template-drupal)[ Packagist](https://packagist.org/packages/ohanome/project-template-drupal)[ Docs](https://github.com/ohanome/project-template-drupal)[ RSS](/packages/ohanome-project-template-drupal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Project template: Drupal
========================

[](#project-template-drupal)

This project template should provide a kickstart for new Drupal projects.

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

[](#installation)

Run the following command to initialize the project:

```
composer create-project ohanome/project-template-drupal PROJECT_NAME
```

Contents
--------

[](#contents)

### Lando

[](#lando)

A preconfigured Lando configuration is included. To start Lando, modify the `name` entry inside [.lando.yml](./.lando.yml) and run the following command:

```
lando start
```

This configuration will create a Lando environment with the following services:

- appserver, using apache2 and PHP 8.1
- database, using MariaDB
- mailhog, to catch outgoing emails
- phpmyadmin, to access the database via a web interface
- testdb, a second database for testing purposes
- testdb\_phpmyadmin, a web interface for the test database

### Deployer

[](#deployer)

A preconfigured Deployer configuration is included. To use the configuration, copy the file [deploy.php.dist](./deploy.php.dist) to `deploy.php` and modify the contents of the file.

Afterwards you can run

```
/vendor/bin/dep deploy
```

where `` is the selected stage specified in your `deploy.php` as parameter to the defined `host()` calls.

### ENV file support

[](#env-file-support)

Based on the discontinued project `drupal-composer/drupal-project`, this project template supports the use of `.env` files. To use this feature, copy the file [.env.example](./.env.example) to `.env` and modify the values to your needs.

The file `web/sites/default.settings.php` for example will automatically load the values from the `.env` file.

### Preconfigured settings.php

[](#preconfigured-settingsphp)

The following settings have been preconfigured in `web/sites/default.settings.php`:

- Database connection:
    - The database credentials are loaded from the `.env` file
- `config_sync_directory`: The directory for the configuration sync is set to `../config/default` (at project root)
- `file_private_path`: The private file path is set to `../private` (at project root)
- `file_temporary_path`: The temporary file path is set to `../tmp` (at project root)
- The `settings.local.php` file is loaded if it exists (by Drupals default, that part is commented out)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

3

Last Release

1235d ago

Major Versions

v1.1.0 → v10.0.02022-12-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f64fb38c29ae13f308cf4e06b50b49ab4119c1ba55faa261eff7ce9d40e7bd3?d=identicon)[boatware](/maintainers/boatware)

### Embed Badge

![Health badge](/badges/ohanome-project-template-drupal/health.svg)

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

###  Alternatives

[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1502.6M1](/packages/drupal-recommended-project)[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)[fourkitchens/sous-drupal-project

Starter project for Sous a Drupal distribution featuring a theme based on Emulsify Design System.

151.0k](/packages/fourkitchens-sous-drupal-project)

PHPackages © 2026

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