PHPackages                             fiasco/govcms-updater - 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. fiasco/govcms-updater

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

fiasco/govcms-updater
=====================

Updating tool for govCMS

2.x-dev(8y ago)093GPL-3.0Shell

Since May 16Pushed 8y ago2 watchersCompare

[ Source](https://github.com/fiasco/govcms-updater)[ Packagist](https://packagist.org/packages/fiasco/govcms-updater)[ RSS](/packages/fiasco-govcms-updater/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

govCMS Updater
==============

[](#govcms-updater)

A building script for managing govCMS updates for downstream PaaS projects.

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

[](#installation)

Run this as apart of your govCMS site project. You can either download a release from github or clone it directly into your existing working project.

```
git clone https://github.com/fiasco/govcms-updater.git

```

Once download, you'll need to install the [composer](https://getcomposer.org/) dependancies.

**Note:** Be sure not to commit this to git as a submodule. It may be best to not track it at all.

```
cd govcms-updater && composer install

```

Creating a new Project or Updating an existing project
------------------------------------------------------

[](#creating-a-new-project-or-updating-an-existing-project)

To create a new govCMS project or to update an existing one, run this command:

```
./govcms-updater/updater.sh

```

This will build govCMS in a folder called `docroot` next to the govcms-updater project. This will build govCMS from the master branch which is not an official release. If you want to use an official release you can pass a release tag as an argument.

```
./govcms-updater/updater.sh 7.x-2.0-beta10

```

Managing a local govCMS project
-------------------------------

[](#managing-a-local-govcms-project)

govcms-updater will overwrite the contents of `docroot` with the contents of govCMS when run with the exception of `docroot/sites` which will be preserved. Any local modules (such as feature exports), themes, libraries and site configuration should be stored in `docroot/sites` to avoid it being overridden.

### Using the govcms-updater hooks system

[](#using-the-govcms-updater-hooks-system)

govcms-updater comes with hooks that can run scripts before and after the import phase of the udpate where the govCMS update replacees the existing docroot folder. These hooks can be used to preserve and re-establish modifications to govCMS that are tracked locally only such as patches.

For example, you may enforce SSL through a modification to `.htaccess` or store additional assets like a style guide under the webroot.

To use these hooks, simple remove the ".disabled" extension from the shell scripts in the `hooks` directory.

```
mv hooks/post-import.sh.disabled hook/post-import.sh
mv hooks/pre-import.sh.disabled hook/pre-import.sh

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3279d ago

### Community

Maintainers

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

---

Top Contributors

[![fiasco](https://avatars.githubusercontent.com/u/108160?v=4)](https://github.com/fiasco "fiasco (3 commits)")

---

Tags

drupalgovCMS

### Embed Badge

![Health badge](/badges/fiasco-govcms-updater/health.svg)

```
[![Health](https://phpackages.com/badges/fiasco-govcms-updater/health.svg)](https://phpackages.com/packages/fiasco-govcms-updater)
```

###  Alternatives

[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3802.9M10](/packages/lullabot-amp)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M440](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[aleksip/plugin-data-transform

Data Transform Plugin for Pattern Lab PHP

34897.4k3](/packages/aleksip-plugin-data-transform)[acquia/drupal-recommended-settings

The composer plugin for adding drupal-recommended-settings for Acquia Cloud.

101.1M4](/packages/acquia-drupal-recommended-settings)[tripal/tripal

Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.

709.9k9](/packages/tripal-tripal)

PHPackages © 2026

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