PHP Annotations

Products: IntelliJ IDEA, PhpStorm

Vendor: Daniel Espendiller



Source code:


Bugtracker page

PHP Annotation
GitHub | Issues

Installation Features
  • Youtube: PhpStorm: PHP Annotations Plugin
  • Attach PhpClass to their DocTag to support "Code > Optimize Imports"
  • Auto alias detection on use statement
  • Filter annotation classes on targets like method, class, property, ...
  • Goto for doc tags and property names
  • Detect annotation property values on phpclass property name including types
  • Index classes with @Annotation inside doc block
  • Plugin extension point
  • Doctrine related providers
  • Class import annotator
  • Class constants in DocTags
  • Doctrine ORM intention and quickfixes for: repository and properties
  • Configure custom aliases
Downloads: 306330
Participated in rating: 3
Version Compatible builds Date
2.6.1 141.115 16.08.2015 Download
1.6 131 10.03.2015 Download
0.4 130.1 24.11.2013 Download
0.3 129.713 03.10.2013 Download
10 updates are hidden show all updates
Screenshot #14499
Screenshot #14679
Screenshot #14497
Screenshot #14309
Screenshot #14498
Screenshot #14513
Screenshot #14969
Screenshot #14312
Screenshot #14311
Screenshot #14310

Recent change notes

2.x: PhpStorm9
1.x: PhpStorm8
  • Replace Doctrine static column types with parser to support simple_array and json_array #39
  • On ORM annotations generation missing ORM alias will add automatically
2.6 / 1.6
  • Add Doctrine repository create quickfix
  • Add intention creation for Doctrine: @Column properties
  • Add generator for Doctrine entity class and properties
  • fix "missing import" inspection highlights all doc blocks #25
  • Fix property value pattern completion for PhpStorm8
  • Add whitelist for annotation PhpDoc on next siblings, to filter inline doc blocks #24
  • Move "Missing Import" annotator to inspection #19
  • API: add new proxy method "getPropertyValue" to get representing psielements
  • Completion and goto for class constants inside doctags #18
  • Annotation are now valid in namespace less files; this also brings some performance improvements because of lower search scope
  • Typo fix that class completion are detected as method
  • Attach annotation insertHandler for alias completion
  • Rename getRootValue to more naming getDefaultPropertyValue
  • Remove unused configuration form #15
  • Fix that docblock completion confidence is valid in comments and provides autopopup
  • Fix annotation class inside composer libraries where not autocompleted #13
  • Support fqn classes annotation #17
  • Add java annotations for all extension points
  • Pipe additional util methods in extension parameters
  • Add doc tag property value utils and dicts
  • Add alias annotation class completion
  • Improve performance on annotation class completion
  • Use php class statement scope instead of file scope for namespace collection
  • Detect annotation classes in same namespace
  • Remove all PhpStorm6 hacks, support new Api and only allow PhpStorm7 builds
  • Add more property value type detections
  • Add and change extension points to reflect latest api features
  • Add class import annotator
  • Add docblock property value provider for @Enum
  • Add Doctrine providers for: targetEntity, repositoryClass, mappedBy, inversedBy
  • Migrate pattern to allow multiple docblocks #12, #8
  • Plugin dont need to explicit enable
  • Only support PhpStorm > 7
  • Activate annotation class reference provider and use it where possible
  • Pattern fix to support eap 131.235
  • Support "@" completion WI-20265
  • Optimize doc tag name insert handler
  • Better property completion pattern and type detection
  • Optimize property value insert handler
  • Extension points for property goto and completion eg @Template("file.html.twig")
  • Init version support PhpStorm6 and 7