PHPackages                             happyr/annotation-warmer - 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. [Caching](/categories/caching)
4. /
5. happyr/annotation-warmer

ActiveSymfony-bundle[Caching](/categories/caching)

happyr/annotation-warmer
========================

Warms up your annotation cache

0.3.0(6y ago)25.4k1[2 issues](https://github.com/Happyr/annotation-warmer/issues)[1 PRs](https://github.com/Happyr/annotation-warmer/pulls)MITPHPCI failing

Since Nov 7Pushed 6y ago3 watchersCompare

[ Source](https://github.com/Happyr/annotation-warmer)[ Packagist](https://packagist.org/packages/happyr/annotation-warmer)[ RSS](/packages/happyr-annotation-warmer/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Annotation Warmer
=================

[](#annotation-warmer)

[![Latest Version](https://camo.githubusercontent.com/4781404abc5e185b6e4bb2dd20e423dc143d38e1e2e9ebe6001ae20c74efbd22/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f4861707079722f616e6e6f746174696f6e2d7761726d65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/Happyr/annotation-warmer/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/dad29e413df2c019012b446f3b8197a1c0ac4bee1914f5da1a6945886f284a0c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4861707079722f616e6e6f746174696f6e2d7761726d65722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Happyr/annotation-warmer)[![Code Coverage](https://camo.githubusercontent.com/9a69094b6bc2887f3781057603295c390194bdf6c74c491e3a46ba42aa745291/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4861707079722f616e6e6f746174696f6e2d7761726d65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Happyr/annotation-warmer)[![Quality Score](https://camo.githubusercontent.com/484f25639403f4d4966f2a0f40ac4374bc709a74a55ca6f55eda6e46554ed40e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4861707079722f616e6e6f746174696f6e2d7761726d65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Happyr/annotation-warmer)[![Total Downloads](https://camo.githubusercontent.com/d272c8eff7018825b8f0b1ce15f62b7bb969606c99e313a497a5ca5100afdc68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6861707079722f616e6e6f746174696f6e2d7761726d65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/happyr/annotation-warmer)

When this bundle is installed and enabled it will make sure all your annotation metadata is cached when your container dependency container is built.

We also provide a command to validate that all annotations are properly loaded.

Install
-------

[](#install)

```
composer require happyr/annotation-warmer

```

Use
---

[](#use)

We warm upp all classes in `src` by default. You may use a different configuration of paths if you like:

```
happyr_annotation_warmer:
    paths:
        - '%kernel.project_dir%/src/Message/Command'
        - '%kernel.project_dir%/src/Message/Event'
```

Linting annotations
-------------------

[](#linting-annotations)

To make sure your annotations are properly configured you may run the lint command:

```
bin/console lint:annotations

```

Assumptions
-----------

[](#assumptions)

- We assume that the classes in the specified paths are using PSR-4.
- We also assume that all `*.php` files in the path has a class with the same as the filename.

Limitations
-----------

[](#limitations)

We are only warming cache for annotations to the Serializer and Validation component.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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 ~13 days

Total

4

Last Release

2343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/happyr-annotation-warmer/health.svg)

```
[![Health](https://phpackages.com/badges/happyr-annotation-warmer/health.svg)](https://phpackages.com/packages/happyr-annotation-warmer)
```

###  Alternatives

[mmoreram/rsqueue-bundle

Redis Symfony2 Queue Bundle, a simple and soft redis based message queue for symfony2

5360.7k1](/packages/mmoreram-rsqueue-bundle)[symfony-bundles/redis-bundle

Symfony Redis Bundle

271.1M5](/packages/symfony-bundles-redis-bundle)[resquebundle/resque

A Symfony 4 bundle to manage Resque job queues

51137.1k1](/packages/resquebundle-resque)[rikudou/psr6-dynamo-db-bundle

PSR-6 and PSR-16 cache implementation using AWS DynamoDB for Symfony

2077.8k](/packages/rikudou-psr6-dynamo-db-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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