Skip to content

PhpStorm plugin to detect ContainerInterface::get result type ... and that does many other things now :)

License

Notifications You must be signed in to change notification settings

voleye/idea-php-symfony2-plugin

 
 

Repository files navigation

IntelliJ IDEA / PhpStorm Symfony Plugin

Build Status Version Downloads Downloads last month Donate to this project using Paypal

Plugin url: https://plugins.jetbrains.com/plugin/7219

Install

  • Install the plugin by going to Settings -> Plugins -> Browse repositories and then search for Symfony.
  • Enabled it per project (File -> Settings -> Languages & Framework -> PHP -> Symfony)
  • Install Php Annotation plugin to enjoy all the annotation stuff
  • Plugin needs a valid PhpStorm indexer, use "File > Invalidate Caches / Restart" if something crazy is going on

Version

  • This plugins supports Symfony 2, 3, ... and hopefully all future ones

Documentation and tutorials

Autocomplete (or something else) is not working! Help! 😮

  • You usually need to trigger the autocomplete popup yourself, by pressing CTRL+SPACE (may be a different shortcut depending on your keymap).
  • Check your File -> Settings -> Symfony Plugin -> Enable Plugin for this Project
  • Many features require the app/cache/dev/appDevDebugProjectContainer.xml file to exist. It is generated when you boot your app in dev environment (open /app_dev.php in a browser or php app/console).
  • Routing features require the app/cache/dev/appDevUrlGenerator.php file to exist. It is generated the first time a call to $urlGenerator->generate() is made at runtime (open a page in your browser that generate at least 1 url).

Building, debugging and other

What? Something still does not work? Damn! 😢

You can browse the existing issues at https://github.com/Haehnchen/idea-php-symfony2-plugin/issues

If your issue already exists, don't hesitate to add a comment to help contributors resolve the issue more easily. If your issue does not exist, open a new issue 😃.

Make sure to provide the maximum amount of informations, such as:

  • What version of PHPStorm are you using ?
  • What version of the plugin are you using ?
  • What kind of project have you encountered the issue with ? (Symfony, etc, custom/full stack ? silex ?)
  • The stack trace if an error occurred
  • Check if you are in PhpStorm eap channel

About

PhpStorm plugin to detect ContainerInterface::get result type ... and that does many other things now :)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 96.8%
  • PHP 2.0%
  • HTML 1.1%
  • Shell 0.1%