Download the PHP package tacone/silex-propel-web-profiler without Composer
On this page you can find all versions of the php package tacone/silex-propel-web-profiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tacone/silex-propel-web-profiler
More information about tacone/silex-propel-web-profiler
Files in tacone/silex-propel-web-profiler
Package silex-propel-web-profiler
Short Description Extending Silex WebProfiler with Propel information
License MIT
Homepage https://github.com/tacone/Silex-Propel-WebProfiler
Informations about the package silex-propel-web-profiler
Silex-Propel-WebProfiler
A Silex Service Provider that lists the DB queries generated by Propel 1.6.x in the Silex Web Profiler in pretty much the same way the Symfony Profiler does in Symfony Standard Edition.
Installation
Add it to your composer.json:
Update composer:
Then register it after Propel and the Silex Web Profiler:
Point your browser to /index_dev.php and you should see Propel in your debug bar.
Sample registration of all of them:
Notes:
Despite doing my best I could not understand how to fully extract the Propel configuration. Because of that, many ? will show in the configuration section of the Propel panel. That's perfectly fine. If you know how to get the data, feel free to send me a Pull Request.
Also note that using the Web Profiler makes Silex very slow.
For the lazy
I mantain a fork of the popular Silex Kitchen Sink Edition, with Propel and the Profiler pre-installed here.
All versions of silex-propel-web-profiler with dependencies
silex/web-profiler Version 1.0.*@dev
silex/silex Version ~1.0