Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report

symfony/web-profiler-bundle v7.0.4

Provides a development tool that gives detailed information about the execution of any request
Package summary
Share
0
issues
0
licenses
Package created
18 Nov 2011
Version published
22 Feb 2024
Maintainers
1
Total deps
0
Direct deps
0
License
MIT
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does symfony/web-profiler-bundle do?

The symfony/web-profiler-bundle is a development tool that offers detailed insights regarding the execution of any request. It provides insights helpful in diagnosing, debugging, and optimizing your application. However, it should never be enabled on production servers as it can create major security vulnerabilities in the project.

How do you use symfony/web-profiler-bundle?

To integrate the symfony/web-profiler-bundle into your project, you need to include it in your project using composer. You can do so via the following command:

composer require --dev symfony/web-profiler-bundle

After the successful installation of the bundle, you need to enable the bundle for the dev and test environments. In the config/bundles.php file, ensure the bundle is activated for these environments:

return [
    // ...
    Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true,'test'=>true],
    // ...
];

Then you need to import the routing configuration in your config/routes/dev/web_profiler.yaml:

web_profiler_wdt:
    resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
    prefix:   /_wdt

web_profiler_profiler:
    resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
    prefix:   /_profiler

The WebProfilerBundle's UI is accessible in the browser at path /_profiler.

Where are the symfony/web-profiler-bundle docs?

The symfony/web-profiler-bundle documentation is in the Symfony repository. You can find detailed information regarding the use, suggestions, and issues in this bundle by clicking here. Also, you can report any issues or send pull requests in the main Symfony repository.