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 middleware adding memory\_get\_peak\_usage() as HTTP header

0.1.3(2y ago)26.5k↓25%GPL-2.0-or-laterPHPPHP ^7.4 || ^8.0

Since Apr 21Pushed 2y 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 1mo ago

READMEChangelogDependencies (1)Versions (5)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. The extension currently supports TYPO3 v11 and TYPO3 v12:

```
$ 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

4

Last Release

832d ago

### 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 (13 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

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[konafets/typo3_debugbar

Utilizes the PHP Debugbar to provide information of the system health to the frontend.

3621.4k](/packages/konafets-typo3-debugbar)[georgringer/backend-debug

Some debug helper for the TYPO3 backend

2032.4k1](/packages/georgringer-backend-debug)[steevanb/php-backtrace

Nice debug\_backtrace() dump, with call and code preview

22142.6k5](/packages/steevanb-php-backtrace)

PHPackages © 2026

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