Featured Post

[pl] 114 rocznica urodzin Antoine de Saint-Exupéry

Dziś obchodzimy niezwykłą rocznicę, bo 114 rocznicę urodzin (29 czerwca 1900) niezwykłego człowieka: Antoine de Saint-Exupéry, świetnego pilota i autora książki “Mały Książę” oraz opowiadań “Nocny lot”, “Ziemia, planeta ludzi”, “Pilot wojenny”...

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