{"repo":"olivernybroe/collector-intellij","free":true,"listed":false,"github":"https://github.com/olivernybroe/collector-intellij","clone":"git clone https://github.com/olivernybroe/collector-intellij.git","description":"A PhpStorm plugin for refactoring to collections","language":"Kotlin","stars":152,"topics":["phpstorm","laravel","laravel-collections","intellij","intellij-plugin","phpstorm-plugin","hacktoberfest"],"license":null,"category":"ecommerce","readme_excerpt":"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 has no stable version, only manual and EAP is possible. - 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... Configuration :warning: The inspections might be disabled by default! Go to preferences for enabling them. All the features are added as inspections in PhpStorm, this means you can disable the ones you don't like or change how severe the warning are on them. For example, by default refactoring foreach to collection is not highlighting the text. However, if you would like to enforce yourself to never use foreach , you can change the severity to error. Features foreach to collection array map to collection map(...)- flatten(1) to flatMap Remove nested collections Closure to arrow functions where(...)- first() to firstWhere where(...)- isNotEmpty() to contains Credits - Oliver Nybroe - All contributors Special thanks to Caneco for the logo ✨ --- Plugin based on the [IntelliJ Platform Plugin Template][template]. [template]: https://github.com/JetBrains/intellij-platform-plugin-template","default_branch":null,"files":null,"tree":[],"storefront":"/r/olivernybroe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/olivernybroe/collector-intellij/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}