Skip to content

ekvedaras/class-factory-phpstorm

Repository files navigation

ClassFactory integration form PhpStorm

Build Version Downloads

PhpStorm integration for ekvedaras/class-factory package.

Current features:

  • Autocompletion in class factory methods
  • Reference resolving for properties in factories. ⚠️ Renaming private promoted properties does not work due to a bug in PhpStorm
  • Inspection to detect properties that don't exist in targeted class constructor

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "class-factory-phpstorm" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.