PHPackages                             excimetry/symfony-excimetry - 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. excimetry/symfony-excimetry

ActiveSymfony-bundle[Debugging &amp; Profiling](/categories/debugging)

excimetry/symfony-excimetry
===========================

Excimetry Bundle for Symfony

1.0.0(9mo ago)21[1 issues](https://github.com/excimetry/symfony-excimetry/issues)Apache-2.0PHPPHP ^8.2CI passing

Since Jul 18Pushed 9mo agoCompare

[ Source](https://github.com/excimetry/symfony-excimetry)[ Packagist](https://packagist.org/packages/excimetry/symfony-excimetry)[ RSS](/packages/excimetry-symfony-excimetry/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

ExcimetryBundle
===============

[](#excimetrybundle)

A Symfony bundle for integrating [Excimetry](https://github.com/excimetry/excimetry) with your Symfony application.

[![Tests status](https://github.com/excimetry/symfony-excimetry/actions/workflows/tests.yml/badge.svg)](https://github.com/excimetry/symfony-excimetry/actions)[![Latest Stable Version](https://camo.githubusercontent.com/909a188954400d4493c664261d48d50410d293688ba1943664fafa71fe3785b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657863696d657472792f73796d666f6e792d657863696d657472792e737667)](https://packagist.org/packages/excimetry/symfony-excimetry)[![License](https://camo.githubusercontent.com/76fcc5aef84ee330a578d09ae965fd8627495a54bb1c2aeabb8005059c42705d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f657863696d657472792f73796d666f6e792d657863696d657472792e737667)](https://packagist.org/packages/excimetry/symfony-excimetry)

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Symfony 6.4 or higher
- excimetry/excimetry package

Installation
------------

[](#installation)

### Step 1: Install the Bundle

[](#step-1-install-the-bundle)

```
composer require excimetry/symfony-excimetry
```

> **Note**: If you're using Symfony Flex (which is the case for most modern Symfony applications), the bundle will be automatically registered in your application's `config/bundles.php` file. No additional configuration is needed for the bundle registration.

### Step 2: Configure the Bundle

[](#step-2-configure-the-bundle)

The installation process automatically creates configuration files at `config/packages/excimetry.yaml` or `config/packages/excimetry.php`. You can use either format based on your preference. If these files don't exist, you can create them manually:

#### YAML Configuration (config/packages/excimetry.yaml)

[](#yaml-configuration-configpackagesexcimetryyaml)

```
# config/packages/excimetry.yaml
excimetry:
  # Whether the bundle is enabled
  enabled: true

  # The sampling period in seconds
  period: 0.01

  # The profiling mode (wall or cpu)
  mode: wall
```

#### PHP Configuration (config/packages/excimetry.php)

[](#php-configuration-configpackagesexcimetryphp)

```
