dev-master
9999999-devSymfony2 RemoteCallBundle
MIT
The Requires
- php >=5.4.0
- symfony/framework-bundle ~2.3
The Development Requires
by Darius Leskauskas
Symfony2 RemoteCallBundle
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., (*1)
http://plugins.jetbrains.com/plugin/6027?pr=phpStorm, (*2)
{ "require-dev": { "darles/remote-call-bundle": "dev-master" } }
``` php <?php // app/AppKernel.php, (*3)
public function registerBundles() { if (in_array($this->getEnvironment(), array('dev', 'test'))) { //.. $bundles[] = new Darles\Bundle\RemoteCallBundle\DarlesRemoteCallBundle(); } }, (*4)
- 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 ``` ini xdebug.file_link_format="javascript:var rq = new XMLHttpRequest(); rq.open('GET', 'http://localhost:8091?message=%f:%l', true); rq.send(null);"
Symfony2 RemoteCallBundle
MIT