Download the PHP package tourze/symfony-profiler-markdown-bundle without Composer
On this page you can find all versions of the php package tourze/symfony-profiler-markdown-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/symfony-profiler-markdown-bundle
More information about tourze/symfony-profiler-markdown-bundle
Files in tourze/symfony-profiler-markdown-bundle
Package symfony-profiler-markdown-bundle
Short Description A Symfony bundle that exports Symfony Profiler data as Markdown format for easy sharing and archiving
License MIT
Informations about the package symfony-profiler-markdown-bundle
Symfony Profiler Markdown Bundle
δΈζ
A Symfony bundle that exports Symfony Profiler data as Markdown format, making it easy to share and archive profiling reports.
π Features
- Markdown Export: Export Symfony Profiler data to well-formatted Markdown
- Multiple Collectors: Supports all standard Symfony profiler collectors (Request, Time, Memory, Security, Doctrine, etc.)
- Extensible Formatters: Customizable formatter system for different data types
- Direct Access: Access profiler reports via
/_profiler/{token}.mdendpoint - Rich Formatting: Includes tables, code blocks, and emoji indicators for better readability
π¦ Installation
Install the bundle using Composer:
βοΈ Configuration
1. Enable the Bundle
Add the bundle to your config/bundles.php:
2. Configure Dependencies
This bundle requires the following bundles:
DoctrineBundle(for database profiling)SecurityBundle(for security profiling)RoutingAutoLoaderBundle(for automatic route loading)
Make sure these are enabled in your application.
π§ Usage
Basic Usage
Once installed, you can access any profiler report in Markdown format by visiting:
Replace {token} with the actual profiler token from your Symfony toolbar.
Example URL
This will generate a comprehensive Markdown report including:
- Summary: Request overview with token, URL, method, status, time, IP
- Table of Contents: Navigation links to all collector sections
- Detailed Sections: Formatted data from each profiler collector:
- π¨ Request: HTTP request details, headers, parameters
- β±οΈ Performance: Execution time, timeline data
- πΎ Memory: Memory usage statistics
- π Security: Authentication and authorization details
- ποΈ Database: Doctrine queries and performance metrics
- π¨ Templates: Twig rendering information
- π Logs: Application log entries
- And more...
π¨ Formatters
The bundle includes specialized formatters for different data types:
Built-in Formatters
- RequestFormatter: HTTP request/response data
- TimeFormatter: Performance timing data
- MemoryFormatter: Memory usage statistics
- SecurityFormatter: Security events and decisions
- DoctrineFormatter: Database queries and metrics
- TwigFormatter: Template rendering data
- LoggerFormatter: Log entries with levels and formatting
Custom Formatters
You can create custom formatters by implementing MarkdownFormatterInterface:
π Example Output
π οΈ Development
Running Tests
Code Quality
π Requirements
- PHP 8.1+
- Symfony 7.3+
- Doctrine Bundle
- Security Bundle
- Twig
π License
This bundle is licensed under the MIT License. See the LICENSE file for details.
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π Support
For issues and questions:
- Create an issue on GitHub
- Check the Symfony Documentation
All versions of symfony-profiler-markdown-bundle with dependencies
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/finder Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/routing Version ^7.3
symfony/security-bundle Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.0.*
tourze/symfony-routing-auto-loader-bundle Version 1.0.*
twig/twig Version ^3.21