Featured Post

Integrating Zend Framework 2.x with Doctrine 2.x ORM

Today I would like to present Doctrine 2 ORM integration with Zend Framework 2. I had some problems with this, so I would like to share the solution for my issues. Downloading sample project First of all you need to download example ZF2 project. We have two example projects created by Zend Framework...

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