Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sweetchuck/drush-ide-helper


https://github.com/sweetchuck/drush-ide-helper

drupal drush phpstorm

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Drush - IDE Helper

[![Build Status](https://travis-ci.org/Sweetchuck/drush-ide-helper.svg?branch=9.x-1.x)](https://travis-ci.org/Sweetchuck/drush-ide-helper)
[![codecov](https://codecov.io/gh/Sweetchuck/drush-ide-helper/branch/9.x-1.x/graph/badge.svg)](https://codecov.io/gh/Sweetchuck/drush-ide-helper)

The `drush ide-helper:phpstorm-meta` command generates
[PhpStorm Advanced Metadata](https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata)
files from a running Drupal site.

## Install

1. Run `composer config 'repositories.drupal-8' 'composer' 'https://packages.drupal.org/8'`
1. Run `composer require --dev drupal/ide_helper`

## Usage

`vendor/bin/drush --include="$PWD/drush/contrib/ide_helper" ide-helper:phpstorm-meta`

## Screenshots

Autocomplete for service names

![Service name autocompletion](docs/images/screenshot-service-autcomplete.png)

------------

Autocomplete for entity type identifiers

![Entity type id autocompletion](docs/images/screenshot-entity-type-autcomplete.png)

------------

Autocomplete for the methods of a service instance

![Methods autocompletion](docs/images/screenshot-interface.png)