Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Examples of profiling Doctrine2 and/or FirePHP? #9

Closed
jeremiahsmall opened this issue Sep 10, 2012 · 2 comments
Closed

Examples of profiling Doctrine2 and/or FirePHP? #9

jeremiahsmall opened this issue Sep 10, 2012 · 2 comments

Comments

@jeremiahsmall
Copy link

I found this package while searching for a way to set up FirePHP with my ZF2/Doctrine2 project. Any tips or examples of profiling ZF2/Doctrine2 with FirePHP?

@jeremiahsmall
Copy link
Author

Nevermind on both questions. For future reference, it "just works" when you get ZendDeveloperTool and BjyProfiler composed into your app.

There are some useful setup details here http://stackoverflow.com/questions/11519800/zenddevelopertools-module-not-displaying-a-toolbar-in-zf2-beta5 which seem to be mostly relevant.

The only additional thing I had to do was follow the extra config step on the readme for this module, even though I'm not using Zend\Db. I used all the default settings on the example page, and that allowed the modules to load, and I am able to see the Doctrine queries in the ZendDeveloperTools toolbar.

Very nice!

@jeremiahsmall
Copy link
Author

BTW: one change I had to make that isn't covered in the StackOverflow post was rename the config from

zenddevelopertools.local.php

to

zenddevelopertools.local.config.php

but this could just be how my app is configured. I guess I'll add this tip over there too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant