PHPackages                             jderusse/composer-warmup - 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. jderusse/composer-warmup

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

jderusse/composer-warmup
========================

1.5(5y ago)180101.7k—0%14[2 issues](https://github.com/jderusse/composer-warmup/issues)PHPPHP ^7.0 || ^8.0

Since Jun 3Pushed 5y ago5 watchersCompare

[ Source](https://github.com/jderusse/composer-warmup)[ Packagist](https://packagist.org/packages/jderusse/composer-warmup)[ RSS](/packages/jderusse-composer-warmup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

OpCode Warmer (composer plugin)
===============================

[](#opcode-warmer-composer-plugin)

Optimize your application by warming up OpCode.

Requirements
------------

[](#requirements)

- PHP `>=7.0`
- Zend extension [Opcache](http://php.net/manual/en/book.opcache.php)
- extension [Sockets](http://php.net/manual/en/book.sockets.php)
- composer `>=1.0.0`

Install
-------

[](#install)

```
$ composer global require "jderusse/composer-warmup"
```

Configure
---------

[](#configure)

```
; /etc/php/7.0/cli/conf.d/10-opcache.ini
zend_extension=opcache.so
opcache.enable_cli=1
opcache.file_cache='/tmp/opcache'

; recommended
opcache.file_update_protection=0
```

Usage
-----

[](#usage)

```
$ cd my-project
$ composer warmup-opcode
```

How does it work?
-----------------

[](#how-does-it-work)

Since PHP 7.0, the OpCache extension is able to store the compiled OpCode into files.

This plugin adds the `warmup-opcode` command to [composer](https://getcomposer.org/) which triggers the compilation for every PHP file discovered in the project.

When you start the application for the first time, PHP doesn't need to compile the files, which improve performance.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~335 days

Recently: every ~419 days

Total

6

Last Release

1948d ago

PHP version history (3 changes)1.0PHP &gt;=7.0

1.4PHP ^7.0

1.5PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3f32527fbf2e4214a29d86a441db4d130535437cf1911a6b0e6ef13db1c84aa?d=identicon)[jderusse](/maintainers/jderusse)

---

Top Contributors

[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (17 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (2 commits)")[![akerouanton](https://avatars.githubusercontent.com/u/557933?v=4)](https://github.com/akerouanton "akerouanton (2 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (2 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (1 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (1 commits)")[![theofidry](https://avatars.githubusercontent.com/u/5175937?v=4)](https://github.com/theofidry "theofidry (1 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")[![janlanger](https://avatars.githubusercontent.com/u/415695?v=4)](https://github.com/janlanger "janlanger (1 commits)")

### Embed Badge

![Health badge](/badges/jderusse-composer-warmup/health.svg)

```
[![Health](https://phpackages.com/badges/jderusse-composer-warmup/health.svg)](https://phpackages.com/packages/jderusse-composer-warmup)
```

###  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.3M14](/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.9M441](/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)
