PHPackages                             webkings-ca/gocomposer - 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. webkings-ca/gocomposer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

webkings-ca/gocomposer
======================

Converts Drupal 8 Sites to the latest Composer Managed Template

121.8k2[1 issues](https://github.com/WebKings-ca/gocomposer/issues)PHPCI failing

Since Feb 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/WebKings-ca/gocomposer)[ Packagist](https://packagist.org/packages/webkings-ca/gocomposer)[ RSS](/packages/webkings-ca-gocomposer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

GoComposer
==========

[](#gocomposer)

*GoComposer* is an all in one solution to update existing Drupal 8 sites to the latest Fully Composer Managed template. It takes the template found in [drupal-project](https://github.com/drupal-composer/drupal-project) and automagically applies it to ypur site.

Just add the *GoComposer* Plug-in to your project, invoke one command and let this Plug-in do the rest...

The aim of this Plug-in is to morph all drupal 8 installation into a universal defualt template.

*Having your Drupal 8 installation modified to this template will simplify future Drupal 8 Core &amp; Contrib Modules updates. It's highly recommended you switch to this template*

> ## Intended Audience
>
> [](#intended-audience)

> If you current Project is a Drupal 8 site with one of the following Scenarios, then *GoComposer* is your one stop solution:

> - Scenario 1: You have installed your site initially through Composer using the `drupal/drupal` deprecated package.

> - Scenario 2: You have installed your site initially from a `tar.gz` or `zip` file.

> - Scenario 3: You have installed your site using `git clone` from the `Drupal.org` main repo.

Pre-requisites
--------------

[](#pre-requisites)

> - It's highly recommended to implement this update on your local environment then update your production site

> - You have to have access to the bash shell command line to run this Plug-in. On Mac just use `Terminal`. On Windows 10, it's recomended to install the [Ubuntu Bash shell](https://tutorials.ubuntu.com/tutorial/tutorial-ubuntu-on-windows#0)

> - You have to have Composer installed globally on your local environment, If you haven't already done so, follow the instructions [here to download the executbale](https://getcomposer.org/download/) and [here to add it to your path](https://getcomposer.org/doc/00-intro.md#globally)

Features
--------

[](#features)

Running the `gocomposer` Command will automate the process of Updating your existing custom site to the latest and greatest Drupal 8 version.

The 'gocomposer' Command will do the following:

- Backup Your Existing Site files and Database and place them in the newly created `backup` folder at your Project Root.
- Download the latest template from the [drupal-project](https://github.com/drupal-composer/drupal-project), Place it in a temporary folder
- Extract the `template.composer.json` which is then populated with your existing site dependencies and then save it as your new `composer.json` file in your project root
- Modify your whole sites folder structure to the new format. Moving the following directories to the new `/web` docroot:

    - `/core`
    - `/sites`
    - `/libraries`
    - `/profiles`
    - `/modules`
    - `/themes`
- Updates your `Drupal Core` &amp; `Contrib Modules` to the latest current version while preserving your existing project dependencies.
- Automatically save your Current environment variables to `.env` in the Project root outside the `/web` docroot for increased security and future compatibility.
- Automatically update your `settings.php` to pull in the Environment Variables from the `.env` file created above. The old `setting.php` file will be saved as `settings_orig.php` in your project root.
- Automatically updates `Drupal Scaffolding` files such as `index.php`, `update.php`, `robots.txt`, etc to the latest version.
- Runs final clean up scripts that finalize the modifications including updating your database.

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

[](#installation)

```
cd path/to/drupal/project/repo

composer require webkings-ca/gocomposer:dev-master

```

Usage:
------

[](#usage)

```
cd path/to/drupal/project/repo

composer require webkings-ca/gocomposer:dev-master

composer gocomposer

```

Make sure you are in the Drupal root directory of your project, where `.git` is located.

> Example:

```
# Drupal Root is located in a `~/Sites/Drupal8project` subdirectory.

cd ~/Sites/Drupal8project

composer require webkings-ca/gocomposer:dev-master

composer gocomposer

```

Demo
----

[](#demo)

*You can watch a demo for using this Plug-in [here](https://www.youtube.com/watch?v=13tLIoSKr0s&feature=youtu.be)*

[![Drupal 8 GoComposer Demo](https://camo.githubusercontent.com/63f3bf4f2d57c9e74c0cec58aef0c3c1fbfa2fef8fbd16886a3f2a7e539ec90a/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3133744c496f534b7230732f302e6a7067)](https://youtu.be/13tLIoSKr0s)

Final Folder Structure
----------------------

[](#final-folder-structure)

*After Running GoComposer your site structure will be:*

[![Final Folder Structure](https://camo.githubusercontent.com/0e97487b57f9754e641f11bab626aa81d3ee34b7fdc793a07bb4eb8f8801e652/68747470733a2f2f7765626b696e67732e63612f73697465732f64656661756c742f66696c65732f4e6577253230466f6c6465722532305374727563747572652e706e67)](https://camo.githubusercontent.com/0e97487b57f9754e641f11bab626aa81d3ee34b7fdc793a07bb4eb8f8801e652/68747470733a2f2f7765626b696e67732e63612f73697465732f64656661756c742f66696c65732f4e6577253230466f6c6465722532305374727563747572652e706e67)

Troubleshooting
---------------

[](#troubleshooting)

> If you are unable to require `webkings-ca/gocomposer` due to your current Configuration try the following:

```
# Drupal Root is located in a `~/Sites/Drupal8project` subdirectory.

cd ~/Sites/Drupal8project

rm -rf vendor

composer require webkings-ca/gocomposer:dev-master

composer gocomposer

```

> *Should you encounter any issues, Create an issue in the [issue queue](https://github.com/WebKings-ca/gocomposer/issues)*

### Credits:

[](#credits)

This project's code base template is taken from [composerize-drupal plugin](https://github.com/grasmash/composerize-drupal). It has been heavily modified to implement it's current functionality.

### Enjoy!

[](#enjoy)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 95.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f19bf2993b375885bc88370b7c06ae5651084ec20096180337e1c8d33c383938?d=identicon)[WebKings-ca](/maintainers/WebKings-ca)

---

Top Contributors

[![WebKings-ca](https://avatars.githubusercontent.com/u/17931504?v=4)](https://github.com/WebKings-ca "WebKings-ca (22 commits)")[![sovainfo](https://avatars.githubusercontent.com/u/1137613?v=4)](https://github.com/sovainfo "sovainfo (1 commits)")

---

Tags

composerdemodrupaldrupal8plugupdate

### Embed Badge

![Health badge](/badges/webkings-ca-gocomposer/health.svg)

```
[![Health](https://phpackages.com/badges/webkings-ca-gocomposer/health.svg)](https://phpackages.com/packages/webkings-ca-gocomposer)
```

###  Alternatives

[websemantics/pyrocms-theme

PyroCMS Plus Admin Theme

151.3k](/packages/websemantics-pyrocms-theme)[vantran/lunar-calendar

Thư viện PHP Âm lịch Việt Nam

101.7k](/packages/vantran-lunar-calendar)

PHPackages © 2026

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