Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

add-on registry tests last commit release

DDEV php-spx (Simple Profiling eXtension)

Overview

This add-on integrates php-spx (Simple Profiling eXtension) into your DDEV project.

Installation

ddev add-on get mdeboer/ddev-php-spx
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev spx status See whether SPX extension has been loaded
ddev spx on Enable SPX extension
ddev spx off Disable SPX extension

For information about the usage of SPX itself, please refer to the official documentation at https://github.com/NoiseByNorthwest/php-spx.

Advanced Customization

To change the Docker image:

ddev dotenv set .ddev/.env.php-spx --php-spx-docker-image="ddev/ddev-utilities:latest"
ddev add-on get mdeboer/ddev-php-spx
ddev restart

Make sure to commit the .ddev/.env.php-spx file to version control.

All customization options (use with caution):

Variable Flag Default
PHP_SPX_DOCKER_IMAGE --php-spx-docker-image ddev/ddev-utilities:latest

Credits

Contributed and maintained by @mdeboer