Home

Awesome

DarlesRemoteCallBundle

The DarlesRemoteCallBundle adds links to quick open current Controller, Template & Entities in PHPStorm IDE using RemoteCall Plugin (http://plugins.jetbrains.com/plugin/6027?pr=phpStorm) in Symfony2 profiler toolbar.

Demo

Installation

http://plugins.jetbrains.com/plugin/6027?pr=phpStorm

{
    "require-dev": {
        "darles/remote-call-bundle": "dev-master"
    }
}
<?php
// app/AppKernel.php

public function registerBundles()
{
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        //..
        $bundles[] = new Darles\Bundle\RemoteCallBundle\DarlesRemoteCallBundle();
    }
}

License

This bundle is under the MIT license.

XDebug & RemoteCall

Enable RemoteCall links on your XDebug stack trace by adding this line to your php.ini

xdebug.file_link_format="javascript:var rq = new XMLHttpRequest(); rq.open('GET', 'http://localhost:8091?message=%f:%l', true); rq.send(null);"