PHPackages                             tourze/symfony-command-profile-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. tourze/symfony-command-profile-bundle

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

tourze/symfony-command-profile-bundle
=====================================

A Symfony bundle that profiles and outputs the runtime of console commands

0.1.0(6mo ago)015MITPHPCI passing

Since Apr 17Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/symfony-command-profile-bundle)[ Packagist](https://packagist.org/packages/tourze/symfony-command-profile-bundle)[ RSS](/packages/tourze-symfony-command-profile-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (15)Versions (4)Used By (0)

Symfony Command Profile Bundle
==============================

[](#symfony-command-profile-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/efb9ffac157a827955b8c64d66b76e88bfe67e266fc97fb4648e5c508d4637b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-command-profile-bundle)[![PHP Version](https://camo.githubusercontent.com/c68fc0c352f362e882c773d56e6ff84927d452575f1a8afed1718f852a46ea6d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-command-profile-bundle)[![License](https://camo.githubusercontent.com/ee44e7dfccb47e05d6f4a74727f77430a735729f384b7972923b02428aebf1fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-command-profile-bundle)[![Build Status](https://camo.githubusercontent.com/6cc694eb6f24cea99a15b2fbe3c19eb0d55333976b9ed2bf56edd75d38ea0f35/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tourze/symfony-command-profile-bundle)[![Quality Score](https://camo.githubusercontent.com/0cdcb938ce35315059782598f77ef46d397fb70fe69af4a34eaeb586826909ce/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/symfony-command-profile-bundle)[![Code Coverage](https://camo.githubusercontent.com/bedf0e6b5ea1b685c71201ddaadcdb364fc6370dc5a1e609c7068091f748c55f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/symfony-command-profile-bundle)[![Total Downloads](https://camo.githubusercontent.com/a3d96c272d32603c40ba829b13121d920cc925854f1ce5eae1c282df38b86797/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f73796d666f6e792d636f6d6d616e642d70726f66696c652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-command-profile-bundle)

A Symfony bundle that profiles and outputs the runtime of console commands. It helps you analyze the performance of your custom or built-in Symfony console commands by displaying the execution time after each run.

Features
--------

[](#features)

- Automatically tracks and displays the execution time for every Symfony console command
- No code modification needed for your commands
- Lightweight and easy to integrate

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

[](#installation)

Make sure your project uses Symfony 6.4+ and PHP 8.1+.

Install via Composer:

```
composer require tourze/symfony-command-profile-bundle
```

Quick Start
-----------

[](#quick-start)

1. Register the bundle in your Symfony application's `config/bundles.php` (if Flex does not auto-register):

```
return [
    // ...
    Tourze\CommandProfileBundle\CommandProfileBundle::class => ['all' => true],
];
```

2. Run any Symfony console command:

```
php bin/console your:command
```

At the end of the command output, you will see a line like:

```
RunTime: 0.123456

```

No additional configuration is required.

Advanced
--------

[](#advanced)

- The bundle uses event subscribers to hook into `ConsoleEvents::COMMAND` and `ConsoleEvents::TERMINATE`.
- Uses [nesbot/carbon](https://carbon.nesbot.com/) for precise time calculation.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

License
-------

[](#license)

This bundle is open-sourced software licensed under the MIT license.

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md) for version history and upgrade notes.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance71

Regular maintenance activity

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

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

Total

3

Last Release

192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e354fdb316da535dfa8ba2e9193a473c403b6bc6fb9170778d1dc50e304c6e9d?d=identicon)[tourze](/maintainers/tourze)

---

Top Contributors

[![tourze](https://avatars.githubusercontent.com/u/13899502?v=4)](https://github.com/tourze "tourze (1 commits)")

---

Tags

symfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tourze-symfony-command-profile-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tourze-symfony-command-profile-bundle/health.svg)](https://phpackages.com/packages/tourze-symfony-command-profile-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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