The Spryker Plugin was built to improve the developer experience with the Spryker.
-
Using PhpStorms built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "idea-php-spryker-plugin" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Some of the Spryker base classes, have very special DocBlocks. In order to generate them with the help of the Plugin, browse to the class, press alt
+ enter
and select Update Spryker DocBlock
.
It also possible to generate base classes of Spryker automatically.
- right-click the directory in the project structure
- select
New
and (if possible) the file you want to create will appear in the menu
To create a new bundle:
- right-click the app directory (Yves, Zed or Client)
- select
New and Create (Yves|Zed|Client) Bundle
Next to the definition of a module class the Spryker logo will appear, which will navigate you to the corresponding factory method.
Browse to any Spryker factory select the class name and press alt
+ enter
and Add Spryker missing Factory methods
to automatically generate missing factory methods.
Plugin based on the IntelliJ Platform Plugin Template.