Collector - A collection's plugin for PhpStorm
This plugin adds support for Laravel Collections.
It contains a bunch of handy refactorings for making your collections better. It can also convert normal PHP statements into collections.
Installation
The plugin is still pending validation from IntelliJ! Only manual install is possible until then.
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Collector" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Using Early Access Program (EAP) builds:
Preferences > Plugins > ⚙️ > Manage plugin repositories
Add a new entry for
https://plugins.jetbrains.com/plugins/eap/15246
Then search for the plugin and install it as usual.
Features
foreach
to collectionarray_map
to collection
Credits
Special thanks to Caneco for the logo ✨
Plugin based on the IntelliJ Platform Plugin Template.