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
  • Active plugin per project in Settings -> Plugins and reopen project
  • (Optional) Install PHP Annotations
Upcoming PhpStorm 8
  • Again compatible with PhpStorm 8 >= 138.1289. 0.11.x will follow to replace deprecated method calls
  • Twig filter ("|") completion without hack
  • Twig block name completion "{% block foo %}" on "extends" templates
  • (hopefully) Major bug for all php types on clean cache WI-23727; our issues #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: 659203
Rating:
Participated in rating: 32
Version Since Build Until Build File/URL Size (Kb) Date Details
0.10.67. 130.1. . Download 1208.6 2014-07-24 22:25: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
. .
87 updates are hidden show all updates
Screenshot #14562
Screenshot #14511
Screenshot #14191
Screenshot #14190
Screenshot #14167
Screenshot #14332
Screenshot #14166
Screenshot #14172
Screenshot #14173
Screenshot #14584

Recent change notes:

0.11.x: PhpStorm 8 (upcoming)
0.10.x: PhpStorm 7 (support until PhpStorm8 release)
0.9.x: PhpStorm 6 (no support)

0.10.67 / 0.11.67
  • Add array completion for constraints constructor #304
  • Add support for twig.extension and form.type_extension in service generator #308
  • Add bundle controller path to resource completion whitelist #307
  • Map entity class with orm.yml file as linemarker #309
  • Add current namespace resolving for yaml targetEntity #305
  • Add class linemarker for yaml entities
  • Add doctrine entity column names as lookup tail text in querybuilder completion
0.10.66 / 0.11.66
  • Add weak tag references for xml and yaml container files
  • 0.11.x: build against eap to resolve StringPattern#oneOf issues #299
  • 0.11.x: reflect renaming of GotoRelatedFileAction #297
0.10.65
  • Allow window path style in twig template names #296
  • Add service indexer for tags in xml and yaml container files #282
  • Add weak form types on new service tag indexer #282
0.10.64
  • Add completion for repositoryClass in yaml
  • Add completion for mappedBy and inversedBy in yaml
  • Add referencedColumnName references for yaml and annotations
  • Completely remove static doctrine yaml mapping list and use annotations fields
  • Fix annotation targetEntity condition
  • Prettify form field completion
  • (Pls be careful on next PhpStorm 8 eap update!)
0.10.63
  • Add completion for form alias tag in xml and yaml container files
  • Support for yaml sequences in arguments instance annotator
  • Service creator adds form alias as tag where possible #281
  • Fix typo inside querybuilder resolver for oneToOne relations
0.10.62
  • Add support for routes in xml files
  • Provide twig context variables for include statements
  • Fix some whitespace documents issue in yaml files
0.10.61
  • Add support for doctrine id orm mapping of yaml files
  • Add support for yaml CompoundValues inside routes action linemarker #289
  • Fix that yaml files starting with whitespace not indexed for routes and services files
  • Fix cast error on php array variables of twig types provider #290
0.10.60
  • Fix translation annotator to not highlight compiled elements #262
  • Fix non reload of translations which are outside PhpStorm index #262
  • Add per translation file change indicator #262
  • Cache twig file linemaker per file change request
  • Add linemaker for routes in yaml
  • Add duplicate key inspection for container files of yaml and xml
  • Add duplicate route name inspection for yaml file
0.10.59
  • Add extensions for type and reference provider
  • Add instance check annotator for service classes of xml arguments
  • Add goto for parameter definition inside yaml and xml
  • Refactoring of xml service container references to provide many improvements in completion and navigation
  • Remove regular expressions from Twig_Extensions parser and use internal lexer to support more use cases
  • Add tail text for all Twig extensions and improve navigation
0.10.58
  • Add completion for yaml config root keys
  • Fix npe in config completion #284
0.10.57
  • Add yaml key completion for config / security files on "config:dump-reference"
  • Add completion for QueryBuilder:set
  • Make Twig translation key extractor compatible with PhpStorm8 and allow undo #213
0.10.56 0.10.55
  • Finally(?) fix NullPointerException on index values #277, #238
  • Optimize Doctrine QueryBuilder chaining method collector to resolve methods and also fix some errors #278, #274
  • Reimplementation of Twig @Template goto on PHP Annotations extension #276
  • Migrate Route annotator to inspections #273
  • Typo fix to support Doctrine OneToOne relations
0.10.54
  • Initial doctrine querybuilder support, see what is in doc
  • Improvements in doctrine field property parser
  • Activate twig filter and block name completion for upcoming PhpStorm8 (eap); resolved issues WI-19022, WI-20266
  • Support entity in sub namespace, use indexer and improve performance
  • Add repository references for QueryBuilder::update/delete/from #272
  • Fix goto for class names without namespace in yaml scalar key #271
  • Fix field name array completion for ObjectRepository::findBy
  • Fix macro name set collector
  • Form field completion should respect property names #259
  • Integrate PHP-Annotations plugins as optional dependency
  • PHP Annotations: Allow alias for all @Template extension #236
  • PHP Annotations: Remove static list fully inside external plugin
  • PHP Annotations: Route::service and some other references #245
0.10.53
  • Fix slow index on large files #261
  • Fix weak route annotation goto
0.10.52
  • Globally use weak service and route index #261
  • Add new weak annotator for routes and services
  • Add route name indexer for annotation
  • Add custom index keys processor for filter them in project context
  • Add extension point to load custom doctrine model classes
  • Fix annotate blank string values
  • Remove duplicate from type completion #260
0.10.51
  • Add twig macro name indexer
  • Add macro include/from indexer and add implements linemarker
  • Add custom "Symfony2 Symbol" search (Navigate > Symfony2 Symbol) in replacement for toolwindow #229 (pls report possible keyboard shortcuts :) )
  • Add twig macro and service index to symbol search
  • Allow null keys in all index related stuff to temporary fix #238
  • Strip quoted values inside yaml container indexer
0.10.50
  • Add twig include indexer
  • Add twig linemarker for includes
0.10.49
  • Add translation key and domain indexer
  • Rewrite and refactoring of all translation related stuff
  • Make translations available without a compiled file on indexer as weak references
  • Improvements in multiline values and quote key files for translation keys
  • Rename parameter indexer key name to force a refresh, pls report npe directly to #238 with your environment data if still occur
0.10.48
  • Improvements in repositoryClass detection of doctrine annotations eg namespaces
  • Add typename for repository "find*" lookup elements
  • Add support for annotations based models inside "find*" repository calls
  • Add extension point for container file loading
  • Add "Interface" and "ClassInterface" to type provider #254
  • Activate $option key references inside FormTypeInterface, because of working api now #162
  • Refactoring of container related linemarkers to fix some npe (api break?) #238

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:
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
.
FabianMartin
Rated:
2013-08-05 19:43:16
A really useful addon for Symfony2 developers. Saves a lot of time.
.
Anonymous
Rated:
2013-07-27 22:22:13
.
Sorbing
2013-07-01 20:41:14
Oh) Thanks! Prior to that, i activate only checkbox "Enable Framefork Integration", but this plugin be disabled. Sorry..
.
Haehnchen
2013-07-01 18:28:18
simply enable it in the project settings?
.
Sorbing
Rated:
2013-07-01 15:32:13
Plugin stopped working on the latest build PHPStorm 6.0.3 build 129.814. Tell me what to do and where to look?
.
123>