Featured Post

Issues with translation related to Zend Framework 2.2 upgrade

Hi there, This time I will take a look at recent issue I met during the upgrade of Zend Framework 2. There is a note at the website http://framework.zend.com/manual/2.2/en/modules/zend.validator.html as follow: A new service has also been registered with the MVC, MvcTranslator, which will return this...

Read More

Integrating FirePHP with Zend Framework 2 using Composer

Posted by Tomasz Kuter | Posted in Programming, Web development | Posted on 23-03-2013

Tags: , , , , , , ,

0

Introduction

If you previously integrated FirePHPCore with Zend Framework using this description just remove require_once(realpath(__DIR__ . ‘/../../vendor/firephp/FirePHPCore/FirePHP.php’)); instance, where you include FirePHP library in global.php

Modifying Composer configuration

Now you need is to update composer.json file as follow:

At the end update your vendor libraries:

Now you should be able to use FirePHP using Zend\Log writer and as standalone \FirePHP::getInstance(true)

And that is all in this topic.

Write a comment