PHPackages                             aeatech/cli-snapshot-profiler-xhprof-bundle - 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. [CLI &amp; Console](/categories/cli)
4. /
5. aeatech/cli-snapshot-profiler-xhprof-bundle

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

aeatech/cli-snapshot-profiler-xhprof-bundle
===========================================

CLI snapshot profiler xhprof bundle for symfony (production ready)

1.0.0(4mo ago)05MITPHPPHP &gt;=8.2CI passing

Since Dec 23Pushed 4mo agoCompare

[ Source](https://github.com/AEATech/cli-snapshot-profiler-xhprof-bundle)[ Packagist](https://packagist.org/packages/aeatech/cli-snapshot-profiler-xhprof-bundle)[ RSS](/packages/aeatech-cli-snapshot-profiler-xhprof-bundle/feed)WikiDiscussions main Synced 1mo ago

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

AEATech - CLI snapshot profiler xhprof bundle
=============================================

[](#aeatech---cli-snapshot-profiler-xhprof-bundle)

[![Code Coverage](.build/coverage_badge.svg)](.build/clover.xml)

The package contains symfony bundle to profile CLI applications with xhprof. It can be used for production profiling.

System requirements:

- PHP &gt;= 8.2
- ext-xhprof
- xhgui (tested on [xhgui/xhgui:0.22.1](https://hub.docker.com/r/xhgui/xhgui/tags?name=0.22.1))

Installation (Composer):

```
composer require aeatech/cli-snapshot-profiler-xhprof-bundle
```

Auto installation
-----------------

[](#auto-installation)

You can install it with custom recipe.

```
composer config extra.symfony.allow-contrib true
composer config --json --merge extra.symfony.endpoint '["https://api.github.com/repos/AEATech/recipes/contents/index.json?ref=main", "flex://defaults"]'
composer require aeatech/cli-snapshot-profiler-xhprof-bundle
```

Manual installation
-------------------

[](#manual-installation)

Enable bundle in dev and prod env.

```
// config/bundles.php

return [
    // ...
    AEATech\CLISnapshotProfilerXhprofBundle\AEATechCLISnapshotProfilerXhprofBundle::class => ['dev' => true, 'prod' => true],
    // ...
];
```

Configuration
-------------

[](#configuration)

Symfony Flex generates a default configuration in config/packages/aea\_tech\_cli\_snapshot\_profiler\_xhprof.yaml

```
aea_tech_cli_snapshot_profiler_xhprof:
    # Enable/Disable profiling
    is_profiling_enabled: false

    # Application info for snapshot naming
    app_version: '0.0.1'

    # XHGUI configuration
    xhgui:
        import_uri: '%env(string:AEA_TECH_CLI_SNAPSHOT_PROFILER_XHPROF_XHGUI)%'
        import_timeout: 1

    ###
    # xhprof configuration
    # - collect internal functions info
    # - collect memory allocation info
    ###
    xhprof:
        collect_additional_info: '1'
        flags:
            - !php/const Xhgui\Profiler\ProfilingFlags::MEMORY

    ###
    # Event matched configuration - START
    ###
    event_matcher:
        # Enable/Disable all commands profiling
        is_profile_all_commands: false

        # Enable profile by command name (\AEATech\CLISnapshotProfilerEventSubscriber\EventMatcher\CommandEventMatcher)
        command:
            is_enabled: false
            name_list:
                - 'app:command'
    ###
    # Event matched configuration - END
    ###
```

License
-------

[](#license)

MIT License. See [LICENSE](./LICENSE) for details.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance80

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a789d3d8b50eb0adce203b40b314622991aac04bdd37422e09874831eec447a?d=identicon)[aeatech2025](/maintainers/aeatech2025)

---

Top Contributors

[![ekosogin](https://avatars.githubusercontent.com/u/13533292?v=4)](https://github.com/ekosogin "ekosogin (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

clibundlesnapshotprofilerxhprofaeatech

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aeatech-cli-snapshot-profiler-xhprof-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/aeatech-cli-snapshot-profiler-xhprof-bundle/health.svg)](https://phpackages.com/packages/aeatech-cli-snapshot-profiler-xhprof-bundle)
```

###  Alternatives

[nunomaduro/collision-adapter-symfony

Collision's adapter for Symfony applications. Error Reporting for console/command-line PHP applications.

4536.8k3](/packages/nunomaduro-collision-adapter-symfony)[proophsoftware/prooph-bundle

Symfony bundle for prooph components to get started out of the box with message bus, CQRS, event sourcing and snapshots

164.3k](/packages/proophsoftware-prooph-bundle)

PHPackages © 2026

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