Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ekvedaras/class-factory-phpstorm

🏭 PhpStrom plugin for ClassFactory
https://github.com/ekvedaras/class-factory-phpstorm

factory integration phpstorm testing

Last synced: about 2 months ago
JSON representation

🏭 PhpStrom plugin for ClassFactory

Awesome Lists containing this project

README

        

# ClassFactory integration form PhpStorm

![Build](https://github.com/ekvedaras/class-factory-phpstorm/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/19824.svg)](https://plugins.jetbrains.com/plugin/19824)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/19824.svg)](https://plugins.jetbrains.com/plugin/19824)

PhpStorm integration for [ekvedaras/class-factory](https://github.com/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](https://youtrack.jetbrains.com/issue/WI-68507/Field-reference-resolved-to-private-property-doesnt-get-renamed)
* 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](https://github.com/ekvedaras/class-factory-phpstorm/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

---
Plugin based on the [IntelliJ Platform Plugin Template][template].

[template]: https://github.com/JetBrains/intellij-platform-plugin-template