Download the PHP package tourze/symfony-command-profile-bundle without Composer
On this page you can find all versions of the php package tourze/symfony-command-profile-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/symfony-command-profile-bundle
More information about tourze/symfony-command-profile-bundle
Files in tourze/symfony-command-profile-bundle
Package symfony-command-profile-bundle
Short Description A Symfony bundle that profiles and outputs the runtime of console commands
License MIT
Informations about the package symfony-command-profile-bundle
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
- 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
Make sure your project uses Symfony 6.4+ and PHP 8.1+.
Install via Composer:
Quick Start
-
Register the bundle in your Symfony application's
config/bundles.php(if Flex does not auto-register): - Run any Symfony console command:
At the end of the command output, you will see a line like:
No additional configuration is required.
Advanced
- The bundle uses event subscribers to hook into
ConsoleEvents::COMMANDandConsoleEvents::TERMINATE. - Uses nesbot/carbon for precise time calculation.
Contributing
Please see CONTRIBUTING.md for details.
License
This bundle is open-sourced software licensed under the MIT license.
Changelog
See CHANGELOG.md for version history and upgrade notes.
All versions of symfony-command-profile-bundle with dependencies
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/service-contracts Version ^3.6
symfony/yaml Version ^7.3
tourze/symfony-dependency-service-loader Version 1.0.*