PHPackages                             worldfactory/cookbook - 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. worldfactory/cookbook

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

worldfactory/cookbook
=====================

Composer plugin to install library recipes.

v1.0.0(4y ago)0469[7 issues](https://github.com/WorldFactory/CookBook/issues)3MITPHP

Since Dec 11Pushed 4y ago2 watchersCompare

[ Source](https://github.com/WorldFactory/CookBook)[ Packagist](https://packagist.org/packages/worldfactory/cookbook)[ RSS](/packages/worldfactory-cookbook/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (11)Used By (3)

CookBook
========

[](#cookbook)

Composer plugin to execute library recipes.

CAUTION !! This library is in alpha version !!

How to use it
-------------

[](#how-to-use-it)

Add cookbook to the composer.json file of your library.

`composer require worldfactory/cookbook`

Add 'recipe.json' file in the root directory of your library :

```
{
  "actions": [
    {
      "type": "copy-file",
      "source": "recipe/file-1.md",
      "target": "file-1.md"
    },
    {
      "type": "create-folder",
      "target": "new-folder"
    },
    {
      "type": "copy-file",
      "source": "recipe/file-2.md",
      "target": "new-folder/file-2.md"
    },
    {
      "type": "copy-file",
      "source": "recipe/file-3.md",
      "target": "new-folder/file-3.md"
    },
    {
      "type": "chmod-file",
      "target": "new-folder/file-3.md",
      "mode": 775
    }
  ]
}

```

All configured actions will be executed when your library is installed !! ;)

Coming soon
-----------

[](#coming-soon)

- More recipe types. (Symfony and composer hooks integration)
- Test property to condition recipe execution.
- Input from user.

[Trello development tab.](https://trello.com/b/0YAPil3f/cookbook)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~134 days

Recently: every ~212 days

Total

10

Last Release

1545d ago

Major Versions

v0.3.2 → v1.0.02022-04-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9974705?v=4)[Raphaël Aurieres](/maintainers/Duregar)[@Duregar](https://github.com/Duregar)

---

Top Contributors

[![Duregar](https://avatars.githubusercontent.com/u/9974705?v=4)](https://github.com/Duregar "Duregar (41 commits)")

### Embed Badge

![Health badge](/badges/worldfactory-cookbook/health.svg)

```
[![Health](https://phpackages.com/badges/worldfactory-cookbook/health.svg)](https://phpackages.com/packages/worldfactory-cookbook)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M939](/packages/symfony-runtime)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k40.0M2.6k](/packages/ergebnis-composer-normalize)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M526](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M193](/packages/drupal-core-project-message)[sandersander/composer-link

Adds ability to link local packages for development with composer

94441.4k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

284.6M333](/packages/phpro-grumphp-shim)

PHPackages © 2026

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