All Projects → bazilio91 → Yii2 Stubs Generator

bazilio91 / Yii2 Stubs Generator

Licence: mit
No more pain with autocomplete in PhpStorm.

Projects that are alternatives of or similar to Yii2 Stubs Generator

Yii2support
Yii2 Support for PhpStorm / IntelliJ IDEA
Stars: ✭ 280 (+95.8%)
Mutual labels:  yii2, phpstorm
idea-php-advanced-autocomplete
Plugin for PhpStorm IDE. Adds auto-completion support for various built-in PHP functions, where parameter is a string literal.
Stars: ✭ 57 (-60.14%)
Mutual labels:  autocomplete, phpstorm
Yaf Php Doc
YAF(Yet Another Framework)源码PHP移植版,同时提供了IDE Helper Doc的能力💡💡💡
Stars: ✭ 58 (-59.44%)
Mutual labels:  phpstorm, autocomplete
yii2-autocomplete-helper
Yii2 IDE Autocomplete Helper
Stars: ✭ 38 (-73.43%)
Mutual labels:  yii2, phpstorm
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (-4.2%)
Mutual labels:  phpstorm, autocomplete
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+457.34%)
Mutual labels:  phpstorm, autocomplete
Tabnine Intellij
Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
Stars: ✭ 140 (-2.1%)
Mutual labels:  phpstorm, autocomplete
Yii2 Ace Admin
我的Yii2 Admin后台项目
Stars: ✭ 130 (-9.09%)
Mutual labels:  yii2
Ironpython Stubs
Autocomplete stubs for common IronPython/.NET libraries
Stars: ✭ 135 (-5.59%)
Mutual labels:  autocomplete
Yii2 Date Picker Widget
Bootstrap DatePicker Widget for Yii2
Stars: ✭ 128 (-10.49%)
Mutual labels:  yii2
Cms
SkeekS CMS (Yii2)
Stars: ✭ 128 (-10.49%)
Mutual labels:  yii2
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (-9.09%)
Mutual labels:  yii2
Textcomplete
Autocomplete for HTMLTextAreaElement and more.
Stars: ✭ 1,691 (+1082.52%)
Mutual labels:  autocomplete
Yii2 Shell
Interactive shell
Stars: ✭ 129 (-9.79%)
Mutual labels:  yii2
Yii2 Json Api
Implementation of JSON API specification for the Yii framework
Stars: ✭ 139 (-2.8%)
Mutual labels:  yii2
Yii2 Rbac
RBAC Manager for Yii 2
Stars: ✭ 128 (-10.49%)
Mutual labels:  yii2
Jstag
Pure Angular Input Tags project
Stars: ✭ 140 (-2.1%)
Mutual labels:  autocomplete
Yii2 Swagger
yii2 with swagger-php
Stars: ✭ 138 (-3.5%)
Mutual labels:  yii2
React Google Places Autocomplete
React Google Places Autocomplete input -- fully customizable
Stars: ✭ 135 (-5.59%)
Mutual labels:  autocomplete
Google Maps Autocomplete
Autocomplete input component and directive for google-maps built with angular and material design | ANGULAR V9 SUPPORTED
Stars: ✭ 134 (-6.29%)
Mutual labels:  autocomplete

Yii::$app stubs generator for Yii 2

Latest Stable Version Total Downloads Latest Unstable Version License

This extension provides no-more-butthurt components & user identity autocomplete generator command for Yii 2.

in action

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev --prefer-dist bazilio/yii2-stubs-generator

or add

"bazilio/yii2-stubs-generator": "~1"

to the require-dev section of your composer.json.

Usage

To use this extension, simply add the following code in your application configuration (console.php):

'controllerMap' => [
    'stubs' => [
        'class' => 'bazilio\stubsgenerator\StubsController',
    ],
],
# generate stubs for console application
php yii stubs console/config/main.php

# to generate stubs for several apps
php yii stubs console/config/main.php common/config/main.php frontend/config/main.php

File with stubs by default located in vendor directory.

Usage with PhpStorm

  1. Install File Watchers JetBrains plugin
  2. Open File Watchers plugin config and import watcher.xml
  3. Edit imported watcher for your needs
  4. Add scope to limit trigger to config files:

PhpStorm "multiple definitions exist for class"

To hide this message:

  1. Find a duplicate class file (not created by this generator), for example: vendor/yiisoft/yii/YiiBase.php
  2. Mark it as a plain text in file context menu.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].