ccampbell / chromephp

class for logging PHP variables to Google Chrome console
http://www.chromelogger.com
1.38k stars 450 forks source link

Working with L4? Not joy here! #28

Open mikeerickson opened 11 years ago

mikeerickson commented 11 years ago

Has anybody been able to get this library working with Laravel 4? I have added it to my apps composer.json file and updated, but calls to ChromePhp::log are either ignored, or I get the standard header error.

I can't find much information about working with L4 and ChromePhp...

BTW, I am using Canary v20

jkrehm commented 11 years ago

I'm sure you've figured it out or moved on in the last two months, but just in case... You had the extension turned on for the domain you're browsing? You wouldn't believe the number of times I thought it wasn't working and in actuality I just hadn't clicked the extension's icon to turn it on. I just tried it in my L4 project (from the routes.php file) and it worked. I have occasionally had namespacing issues and had to reference it with \ChromePhp, so check that, too.

hakre commented 10 years ago

I also see no technical reason why it shouldn't be possible to use the class with L4. You can perhaps share some more technical details so there is more valid description of the problem?