Compatible with: IntelliJ IDEA PhpStorm
Dec 31, 2017
612 193
Laravel Plugin

Issues | Donate
Install
  • Install plugin and active it per Project under "Settings > Languages & Frameworks > PHP > Laravel"
  • Use "Laravel IDE Helper Generator" to generate ide classes
  • Configure root Views directory, if not using default file structure
  • (Enable autopopup for completion in plugin setting)

Features
  • PHP/Route: Controller completion and goto
  • PHP/Route: Router::resource references
  • PHP/Route: detect route names on "as" key
  • PHP/View: completion and goto for view templates
  • PHP/Config: "providers" class array completion
  • PHP/Config: Config key indexer, completion and goto
  • PHP/Translation: Translation key indexer, completion and goto
  • PHP: Service dic
  • Blade: extends, include and Php usage linemarker
  • Blade: section, yield, stack overwrite and implements linemarker
  • Blade: Improvements in Blade template name completion and navigation
  • Blade: trans directive
  • Template: Index for Php usage
Todo
  • Try to remove "IDE Helper Generator" deps; mostly done :)
  • Require Symfony2 Plugin, to reduce duplicate code
  • Support trans/transChoice translation syntax

Download plugin

Recent change notes

  • Fix typo in settings form @Luiz* #160
  • Replace deprecated ScalarIndexExtension usages in indexing process
  • Support Blade includeWhen, includeFirst for template references #164 #152 #158 #142
  • Use new directory SLOT_DIRECTIVE and COMPONENT_DIRECTIVE for completion parameter pattern #167
  • Provide indexer for all Blade include directives and use some new Blade apis #165
  • Replace cost intensive template resolving on path visiting
  • Convert Blade template file navigation to lazy target implementation
  • Convert Blade template include navigation to lazy target implementation
  • Config files matching refactored + tests added @Adel #169 #166
  • Fix "component" and "slot" navigation
  • Provide directory navigation for Blade template strings
  • Fix performance issue for Blade linemarkers: targets must be attached to leaf elements #161
  • Provide references for assets #170

see full changelog | Donate