PHPackages                             localgovdrupal/localgov\_microsites\_project - 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. localgovdrupal/localgov\_microsites\_project

ActiveProject[Utility &amp; Helpers](/categories/utility)

localgovdrupal/localgov\_microsites\_project
============================================

Project template for the LocalGov Drupal Microsites distribution.

4.1.1(5mo ago)95.3k↓92.3%6[10 issues](https://github.com/localgovdrupal/localgov_microsites_project/issues)[1 PRs](https://github.com/localgovdrupal/localgov_microsites_project/pulls)GPL-2.0-or-laterPHPCI failing

Since Apr 20Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/localgovdrupal/localgov_microsites_project)[ Packagist](https://packagist.org/packages/localgovdrupal/localgov_microsites_project)[ Docs](https://github.com/localgovdrupal/localgov_microsites_project)[ RSS](/packages/localgovdrupal-localgov-microsites-project/feed)WikiDiscussions 4.x Synced 2d ago

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

LocalGov Drupal Microsites Composer project template
====================================================

[](#localgov-drupal-microsites-composer-project-template)

This project template provides a starter kit for managing your LocalGov Drupal Microsites dependencies with [Composer](https://getcomposer.org/).

Please note that this is a separate distribution from LocalGov Drupal.

For more information on the Localgov Microsites install profile, please see [https://github.com/localgovdrupal/localgov\_microsites](https://github.com/localgovdrupal/localgov_microsites)

For more information on the LocalGov Drupal install profile, please see

Usage
-----

[](#usage)

First you need to [install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

After that you can create the project:

```
composer create-project --stability stable drupal/localgov_microsites_project:^4.0 MY_PROJECT  --no-install
```

Using Lando
-----------

[](#using-lando)

If using Lando, you can then boot up Lando and run the site install

```
cd MY_PROJECT
lando start
lando composer install
lando drush si localgov_microsites -y
```

Using DDEV
----------

[](#using-ddev)

If using ddev, you can then boot up ddev and run the site install

```
cd MY_PROJECT
ddev start
ddev composer install
ddev drush si localgov_microsites -y
```

Using host machine
------------------

[](#using-host-machine)

If you're working directly on your host machine, you'll still need to run the composer install.

```
cd MY_PROJECT
composer install
drush si localgov_microsites -y
```

Running PHPUnit tests in Lando
------------------------------

[](#running-phpunit-tests-in-lando)

The included phpunit.xml.dist file contains configuration for automatically running the LocalGov Drupal test suite.

The default .lando.dist.xml includes environment variables for:

```
BROWSERTEST_OUTPUT_DIRECTORY: '/app/web/sites/simpletest/browser_output'
BROWSERTEST_OUTPUT_BASE_URL: 'https://localgov-micro.lndo.site'
```

To allow html output, manually create a directory for browser output.

```
mkdir web/sites/simpletest/browser_output
```

To run all LocalGov Drupal tests from Lando:

```
lando ssh
phpunit
```

To run all the tests for a specific module:

```
lando ssh
phpunit web/modules/contrib/localgov_my_module
```

Tests can be filtered using the `--filter` option. To only run a specific test:

```
lando ssh
phpunit --filter=myTestName
```

Running PHPUnit tests in DDEV
-----------------------------

[](#running-phpunit-tests-in-ddev)

The included phpunit.xml.dist file contains configuration for automatically running the LocalGov Drupal test suite.

The default .ddev/config.yml includes configuration for some extra domains that ddev and phpunit will need to resolve different microsite domains.

When ddev starts, it will attempt to write these to /etc/hosts

If DDEV cannot write to /etc/hosts, you may need to add these manually.

If you are having problems running phpunit tests in DDEV, try adding the following to `/etc/hosts`

```
127.0.0.1 group-1.web group-2.web group-3.web group-4.web group-5.web

```

To allow html output, manually create a directory for browser output.

```
mkdir web/sites/simpletest/browser_output
```

To run all LocalGov Drupal tests from inside DDEV:

```
ddev ssh
phpunit
```

To run all the tests for a specific module:

```
ddev ssh
phpunit web/modules/contrib/localgov_my_module
```

Tests can be filtered using the `--filter` option. To only run a specific test:

```
ddev ssh
phpunit --filter=myTestName
```

Maintainers
-----------

[](#maintainers)

This project is currently maintained by:

- Ekes:
- Finn Lewis:
- Stephen Cox:

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance62

Regular maintenance activity

Popularity31

Limited adoption so far

Community22

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

Recently: every ~63 days

Total

28

Last Release

43d ago

Major Versions

1.0.0-alpha1 → 2.0.0-beta12022-12-08

2.0.0-beta7 → 3.x-dev2023-10-02

3.0.0-alpha1 → 4.0.0-alpha12024-02-29

4.1.1 → 5.x-dev2026-05-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd550678a915c9a6d451d08851556a1c866f8cc7c0e3f864b498a45d4d930577?d=identicon)[stephen-cox](/maintainers/stephen-cox)

![](https://www.gravatar.com/avatar/c215b54edbf914998f6f63747814fd96f117c2c6e1bb5ea0c0a0db24fd9b3901?d=identicon)[finnlewis](/maintainers/finnlewis)

![](https://www.gravatar.com/avatar/848d88262b2f9d984d12b55bd4a2e2f0e1d3c7abe9c63fc5cc13ecbab75cd19e?d=identicon)[ekes](/maintainers/ekes)

---

Top Contributors

[![finnlewis](https://avatars.githubusercontent.com/u/326588?v=4)](https://github.com/finnlewis "finnlewis (57 commits)")[![stephen-cox](https://avatars.githubusercontent.com/u/7189914?v=4)](https://github.com/stephen-cox "stephen-cox (29 commits)")[![ekes](https://avatars.githubusercontent.com/u/237186?v=4)](https://github.com/ekes "ekes (14 commits)")[![millnut](https://avatars.githubusercontent.com/u/8024370?v=4)](https://github.com/millnut "millnut (9 commits)")[![Adnan-cds](https://avatars.githubusercontent.com/u/50206849?v=4)](https://github.com/Adnan-cds "Adnan-cds (3 commits)")[![tonypaulbarker](https://avatars.githubusercontent.com/u/4941711?v=4)](https://github.com/tonypaulbarker "tonypaulbarker (1 commits)")[![FinnERLewis](https://avatars.githubusercontent.com/u/82151042?v=4)](https://github.com/FinnERLewis "FinnERLewis (1 commits)")[![markconroy](https://avatars.githubusercontent.com/u/2183332?v=4)](https://github.com/markconroy "markconroy (1 commits)")[![opdavies](https://avatars.githubusercontent.com/u/339813?v=4)](https://github.com/opdavies "opdavies (1 commits)")

### Embed Badge

![Health badge](/badges/localgovdrupal-localgov-microsites-project/health.svg)

```
[![Health](https://phpackages.com/badges/localgovdrupal-localgov-microsites-project/health.svg)](https://phpackages.com/packages/localgovdrupal-localgov-microsites-project)
```

###  Alternatives

[vardot/varbase-project

Project template for Varbase distribution.

5362.5k](/packages/vardot-varbase-project)[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1502.8M1](/packages/drupal-recommended-project)[govcms/govcms

GovCMS Drupal Distribution

198102.2k3](/packages/govcms-govcms)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[az-digital/az_quickstart

Arizona Quickstart

52280.4k3](/packages/az-digital-az-quickstart)[fourkitchens/sous-drupal-project

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

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

PHPackages © 2026

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