opensource software

Symfony2 Plugin

Products: IntelliJ IDEA, PhpStorm

Vendor: Daniel Espendiller

Email:

Website: https://github.com/Haehn...idea-php-symfony2-plugin

SourceCode: https://github.com/Haehn...idea-php-symfony2-plugin

License: https://github.com/Haehn...ugin/blob/master/LICENSE

Description:

Symfony2 plugin. Documentation | Doc on GitHub | Donate
Install
  • Activate plugin per project in "Settings -> Plugins" and reopen project
  • (Optional) Install PHP Annotations
Open Api Issues
  • Twig block name completion "{% block foo %}" WI-24362
  • Bug for all php types on clean cache WI-23727; our issue #287: doctrine repository+entity, twig, ...
Features: Dependency Injection Container
  • References for services in ContainerInterface::get()
  • Detect ContainerInterface::get() result type
  • References for services, tags, events, methods, ... inside yaml, xml and php
  • Indexer to provide live editing without a compiled container
  • Tagged class indexer
Doctrine
  • ORM QueryBuilder support, including chaining and nested methods
  • References and TypeProvider for doctrine getRepository
  • TypeProvider for EntityRepository::find/findOneBy/findAll/findBy
  • Field and relations resolving and annotation and yaml
Templates/Twig
  • Template names in all file references
  • Provide Template implements and extends goto on linemarker
  • Assets file references like javascript, stylesheets and more
  • Support @Template annotations
  • Trans and transchoice support with annotator, quickquick and translation extraction action
  • References for block names (completion back since PhpStorm8)
  • Variable TypeProvider similar to php with several scopes and providers like docblocks, controller, actions, template inclusion, ...
  • Macro implements goto on linemarker
  • Filter, Function, Macro and Extension support
Forms
  • References for form types
  • Form field name references on data_class
  • References for form options, extension, ...
Routing
  • References for UrlGenerator::generate() related calls
  • Autocomplete route name in twig templates
  • Go to for routing name methods
  • CodeFolding to display real route uri instead of its name
  • Route parameter completion
Other
  • Annotator which notice unknown route, template, service, assets, ...
  • Several stub indexer to provide some live generation provider in replacement for compiled container
  • Linemarker and "Related File" to provide possible goto targets and controller action
  • Search Everywhere support and custom search for only Symfony2 related Symbols "Navigate > Symfony2 Symbol"
  • Bridge for PHP Annotations to support annotation related stuff
Related Plugins Contributors
Downloads: 1100956
Rating:
Participated in rating: 35
Version Since Build Until Build File/URL Size (Kb) Date Details
0.11.87. 138. . Download 1421.73 2015-03-19 22:03:35 details
0.10.77. 130.1. . Download 1341.05 2014-11-09 16:55:43 details
0.9.26. 129.713. . Download 629.2 2013-10-26 11:13:15 details
0.9.6. 129.196. . Download 315.84 2013-06-17 20:02:27 details
. .
117 updates are hidden show all updates
Screenshot #14954
Screenshot #14191
Screenshot #14511
Screenshot #14173
Screenshot #14172
Screenshot #14332
Screenshot #14987
Screenshot #14562
Screenshot #14167
Screenshot #14584
Screenshot #14190
Screenshot #14166

Recent change notes:

0.11.x: PhpStorm 8
0.10.x: PhpStorm 7 (no support)
0.9.x: PhpStorm 6 (no support)

0.11.87
  • Add completion for twig tags of Twig_TokenParserInterface::getTag implementations #457
  • Add trans / transchoice twig tag 'from' support #459
  • Add completion for Twig_SimpleTest extension in twig files after IS token
  • Add twig operator completion in IF tags
  • Fix pattern of twig trans_default_domain tag and use translation index for domain completion
  • Fix several issues in twig array completion #463
0.11.86
  • Support new setFactory syntax in yaml and xml #436
  • Add service generator in class context of "Generator Popover" and intention in arguments
  • Add twig assets completion for img src tags #438
  • Add some more yaml service key completion
  • Add method support for twig "for" statements #208
  • Fix instance annotator in yaml psi pattern arguments on single quote string, after pattern api changes
  • Fix completion for twig inline array doc block pattern
  • Fix insertHandler for trailing backslash in twig doc var completion
  • Note: implemented testing infrastructure #405
0.11.85
  • Fix npe in custom assets resolving #427
0.11.84
  • Fixing npe in tagged class inspections #425
  • Add function parameter generator for "kernel.event_listener" on method create quickfix #424
  • Add support for getSubscribedEvents inside method create quickfix #424
  • Add support for custom assets #353
  • Add static event parameter hint list for method create quickfix
0.11.83
  • Add inspection for tagged services to validate corresponding interfaces or extends instances
  • Add "Method Create" quickfix for xml files
  • Add navigation, quickfix and inspections for methods inside tag statements #422
  • Fix non unix eol error in template files #421
0.11.82
  • add method create quickfix for yaml files #415
  • Remove weak service warning #399

open full changelog

General usage instructions:

Note that the plugin uses the app/cache/dev/appDevDebugProjectContainer.xml file to know services' class, so this file has to exists and/or be up to date :-) Also note that you need the latest PHPStorm EAP build, download at http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program

Comments:

123>
Anonymous
Rated:
2015-03-06 16:27:05
Tu plugin find this kind of route : {% include 'AcmeBundle:Blog:create.html.twig' with { 'form': form } %} But not this one (which is in app/Resources/views) : {% extends "::base.html.twig" %} Except that, love the plugin
.
Anonymous
Rated:
2014-11-06 19:04:23
Superb. Second place in plugin top 10 downloads!!! Keep it up!
.
Anonymous
2014-10-06 14:23:24
A+ Plugin Keep upgrading it!
.
shairyar
Rated:
2014-09-26 16:05:38
This is a wonderfull plugin, cant imagine working with Symfony without this plugin. It would be really nice to see auto complete in YML file and click to jump options as well/
.
Anonymous
Rated:
2014-08-13 12:04:32
This plugin is so awesome! Thank you for this great tool :)
.
Anonymous
Rated:
2014-07-16 19:46:48
great plugin !!! but missing option to jump into controller by clicking route inside yml routing file if you'll add it, it would be perfect :)
.
tehasystems
Rated:
2014-06-01 16:09:52
Excellent plugin! And it keeps getting better and better!
.
Anonymous
Rated:
2014-04-15 01:31:14
.
t0xicCode
Rated:
2014-04-03 22:31:11
.
Anonymous
Rated:
2014-03-09 14:33:12
this is the best plugin for symfony2 ever seen
.
Anonymous
Rated:
2013-12-19 14:53:53
Thanks a lot!!!
.
Anonymous
Rated:
2013-10-29 15:53:07
This is absolutely awesome. Changed my life!
.
Anonymous
2013-09-27 14:18:53
How to remove the service icon?
.
Anonymous
Rated:
2013-09-17 16:29:34
Can you provide example to run this plugin in php storm for php controller to view?
.
Anonymous
Rated:
2013-08-25 01:29:59
.
123>