Getting ServiceManager in the Plugin

Creating a custom plugin in Zend Framework 2 is fairly easy, but many time I just need the direct access to Zend Service Manager.

Javascript code in PHP file without the <script> tag

Working with Zend Framework 2 using PhpStorm IDE, when using viewhelpers like inlineScript the syntax highlighting don't work properly

FirePHP Profiler for Doctrine 2 queries

Doctrine 2 extension offers a number of logger to view details of executed sql queries. In this post I'll show how to implement a FirePHP logger