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 yesterday

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 64% 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

1496d ago

Major Versions

v0.3.2 → v1.0.02022-04-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5438bb7ce18ec69f4b6e25dbe3fcc65c6ded0d635b3d5e0734e1cf3efe17005?d=identicon)[Duregar](/maintainers/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

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

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

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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