caneco / collector-intellij

A PhpStorm plugin for refactoring to collections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collector header

GitHub Workflow Status (master) Total Downloads Latest Version Latest EAP Version

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 collection
  • array_map to collection

Credits

Special thanks to Caneco for the logo ✨


Plugin based on the IntelliJ Platform Plugin Template.

About

A PhpStorm plugin for refactoring to collections


Languages

Language:Kotlin 87.8%Language:PHP 11.2%Language:HTML 1.0%