Skip to content

The DarlesRemoteCallBundle adds links to quick open current Controller, Template & Entities in PHPStorm IDE using RemoteCall Plugin in Symfony2 profiler toolbar.

License

Notifications You must be signed in to change notification settings

darles/RemoteCallBundle

Repository files navigation

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

  • Install RemoteCall plugin to your PHPStorm IDE

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

  • Add DarlesRemoteCallBundle in your composer.json require-dev section:
{
    "require-dev": {
        "darles/remote-call-bundle": "dev-master"
    }
}
  • Enable the bundle in the kernel on the DEV environment:
<?php
// app/AppKernel.php

public function registerBundles()
{
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        //..
        $bundles[] = new Darles\Bundle\RemoteCallBundle\DarlesRemoteCallBundle();
    }
}
  • Open your Symfony2 application in dev environment, you should see "Open in PHPStorm" tab in profiler toolbar.

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);"

About

The DarlesRemoteCallBundle adds links to quick open current Controller, Template & Entities in PHPStorm IDE using RemoteCall Plugin in Symfony2 profiler toolbar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages