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)179102.0k—6.3%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 2w 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 89% 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

2048d 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

[symfony/runtime

Enables decoupling PHP applications from global state

740103.0M1.2k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M600](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2125.4M213](/packages/drupal-core-project-message)[phpro/grumphp-shim

GrumPHP Phar distribution

284.9M348](/packages/phpro-grumphp-shim)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

566.3M167](/packages/automattic-jetpack-autoloader)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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