phrep

composer-plugin
Login

There isn't an integrated composer-plugin yet.

There is however composer-phrep.sh [→d25c328d8],
usable per post-install-cmd:

"scripts": {
    "post-install-cmd": ["./composer-phrep.sh"],
    "post-update-cmd":  ["./composer-phrep.sh"]
}

Current behaviour:

A full phrep composer-plugin would of course integrate more nicely, run faster than a shell script, and likely provide a few more options:

However, there's no rush. There aren't any such packages yet. So feature scope and rewriting scheme are still experimental. And the shell wrapper is more flexible for testing anyway.

Foremost it also can be run independently from composer updates. For example after changing #defines in the primary composer.ph.