PHPackages                             fpfis/drush-m2c - 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. fpfis/drush-m2c

AbandonedArchivedDrupal-drush

fpfis/drush-m2c
===============

Helps convert drush make files to composer.

012PHP

Since Jan 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/fpfis/drush-m2c)[ Packagist](https://packagist.org/packages/fpfis/drush-m2c)[ RSS](/packages/fpfis-drush-m2c/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

drush-m2c
=========

[](#drush-m2c)

Converter from a Drush makefile to composer.json

WARNING
-------

[](#warning)

It's very much in alpha and you should only use it at your own risk. You're very much likely to have to edit the composer.json afterwards.

Usage
-----

[](#usage)

Install this in your .drush folder:

```
$ git clone git@github.com:jpstacey/drush-m2c.git ~/.drush/m2c
$ drush cc drush

```

Then use the m2c command, specifying a makefile:

```
$ drush m2c path/to/drush-m2c/make_to_composer.drush path/to/makefile.make > path/to/composer.json

```

This will convert the makefile into a composer.json on standard output, so as you can see above we're piping that to an actual JSON file.

What Composer doesn't do
------------------------

[](#what-composer-doesnt-do)

A limitation of installers is that it doesn't cope with building a runnable core-plus-contrib: your files will be in the following locations:

- modules/
- themes/
- profiles/
- libraries/
- vendor/drupal/drupal/ &lt;- core

You will need to manually rearrange these files to get your build to work. However, this is a task that is very much suited to Drush instance:

[https://www.drupal.org/project/drush\_instance](https://www.drupal.org/project/drush_instance)

This supports composer.json, in the above format, as of 7.x-1.2.

Patches can also be applied using the jpstacey/composer-patches Packagist project:

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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/caac07a8b3883a140b586c1a6ef963f2b688fbdac6e045b24f5623af5497b30f?d=identicon)[ec-europa](/maintainers/ec-europa)

![](https://www.gravatar.com/avatar/21ddc885cf159309dbbcc8530dea163c8b1328eb040bf483d0c0a96cc8d474f1?d=identicon)[verbruggenalex](/maintainers/verbruggenalex)

---

Top Contributors

[![geek-merlin](https://avatars.githubusercontent.com/u/15613398?v=4)](https://github.com/geek-merlin "geek-merlin (7 commits)")[![jpstacey](https://avatars.githubusercontent.com/u/187682?v=4)](https://github.com/jpstacey "jpstacey (4 commits)")[![gboddin](https://avatars.githubusercontent.com/u/4395092?v=4)](https://github.com/gboddin "gboddin (3 commits)")

### Embed Badge

![Health badge](/badges/fpfis-drush-m2c/health.svg)

```
[![Health](https://phpackages.com/badges/fpfis-drush-m2c/health.svg)](https://phpackages.com/packages/fpfis-drush-m2c)
```

PHPackages © 2026

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