PHPackages                             lolli/peak-memory - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. lolli/peak-memory

ActiveTypo3-cms-extension[Debugging &amp; Profiling](/categories/debugging)

lolli/peak-memory
=================

TYPO3 HTTP memory usage - TYPO3 middleware adding memory\_get\_peak\_usage() as HTTP header

0.2.1(2mo ago)27.4k↓37.5%GPL-2.0-or-laterPHPPHP ^8.2

Since Apr 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/lolli42/peak_memory)[ Packagist](https://packagist.org/packages/lolli/peak-memory)[ Docs](https://github.com/lolli42/peak_memory)[ RSS](/packages/lolli-peak-memory/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

TYPO3 peak memory
=================

[](#typo3-peak-memory)

This extension adds a HTTP middleware to the TYPO3 frontend and backend stack that sets the HTTP header `X-TYPO3-PHP-peak-memory`with the result of PHP `memory_get_peak_usage()` in bytes.

This extension is an easy way to get an idea which requests may be memory hungry, and if changes to the codebase affect memory consumption.

The middleware is positioned very early (or late, depending on how you look at it) to catch the majority of the TYPO3 request processing.

The header is added in backend requests, if `$GLOBALS['TYPO3_CONF_VARS']['BE']['debug']` is configured to `true`, and in frontend, if `$GLOBALS['TYPO3_CONF_VARS']['FE']['debug']` is configured to `true`.

Installation
============

[](#installation)

Composer
--------

[](#composer)

You probably want to install this as `--dev` dependency:

```
$ composer require --dev lolli/peak-memory

```

TYPO3 Extension Repository
--------------------------

[](#typo3-extension-repository)

Extension key is registered, but the extension is currently not released to TER.

Usage
=====

[](#usage)

When debug mode and stuff is on, all HTTP requests that go through TYPO3 add the HTTP header. Use browser inspectors or something to see them.

Tagging and releasing
=====================

[](#tagging-and-releasing)

[packagist.org](https://packagist.org/packages/lolli/peak-memory) is enabled via the casual github hook.

Example:

```
composer req --dev typo3/tailor
vendor/bin/tailor set-version 0.1.0
composer rem --dev typo3/tailor
git commit -am "[RELEASE] 0.1.0 Initial release"
git tag 0.1.0
git push
git push --tags

```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~274 days

Total

6

Last Release

74d ago

PHP version history (2 changes)0.1.0PHP ^7.4 || ^8.0

0.2.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/21bf0c815297c24ae76a3c08455b2b843f33010706043a3a99aaffe988968194?d=identicon)[lolli42](/maintainers/lolli42)

---

Top Contributors

[![lolli42](https://avatars.githubusercontent.com/u/2178068?v=4)](https://github.com/lolli42 "lolli42 (16 commits)")

### Embed Badge

![Health badge](/badges/lolli-peak-memory/health.svg)

```
[![Health](https://phpackages.com/badges/lolli-peak-memory/health.svg)](https://phpackages.com/packages/lolli-peak-memory)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[plan2net/webp

Drop-in WebP, AVIF, and JPEG XL delivery for TYPO3 images — automatic, no URL or template changes

681.5M5](/packages/plan2net-webp)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[typo3/cms-sys-note

TYPO3 CMS System Notes - Records with messages which can be placed on any page and contain instructions or other information related to a page or section.

116.3M38](/packages/typo3-cms-sys-note)

PHPackages © 2026

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