nb-yii2-plugin

Yii2 Framework plugin for NetBeans

Github星跟蹤圖

nb-yii2-plugin

Yii2 Framework plugin for NetBeans 8.0+

Requirements

  • NetBeans 8.0+ (depend on build version of NetBeans now)
  • Yii2 Framework (app-basic)
  • Composer

Features

  • Badge icon
  • New Project Wizard (create a project via composer)
  • Go to View/Action Action
  • Create htaccess Action
  • Hyperlink Navigation
  • Custom alias paths support

How to enable

Right-click your php project > Frameworks > Yii2 > Check Enabled

Project settings

Base path of application

Have a look at http://www.yiiframework.com/doc-2.0/guide-structure-applications.html#basepath

Path aliases file path

Path aliases file provides support for your custom directory structure.
These aliases will be used when navigation feature (e.g. Go To Action) is used.
It's json file. It has a format like the following:

{
	"aliases": {
		"@app/controllers" : ["controllers", "mycontrollers"],
		"@app/models" : ["mymodels"],
		"@app/views" : ["themes/basic", "views", "views2"],
		"@yii": ["vendor/yiisoft/yii2"]
	}
}

NOTE: Can't recognize altogether aliases.

Create a New Project via Composer

Preparation

  1. Open your terminal
  2. Install Composer
  3. composer global require "fxp/composer-asset-plugin:1.0.0"
  4. composer config (--global) github-oauth.github.com YOUR_TOKEN

You can create a personal token at https://github.com/settings/applications

Steps

  1. New Project > PHP > Yii2 Framework Application
  2. Input proper values
  3. Finished

NOTE

If it fails, please run the composer command using the terminal manually.

Downloads

License

Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2

主要指標

概覽
名稱與所有者nbphpcouncil/nb-yii2-plugin
主編程語言Java
編程語言Java (語言數: 3)
平台
許可證Other
所有者活动
創建於2014-07-11 20:47:02
推送於2015-11-18 07:17:49
最后一次提交2015-11-18 07:17:32
發布數4
最新版本名稱v0.0.4 (發布於 2015-11-18 07:11:31)
第一版名稱v0.0.1 (發布於 2014-07-26 14:05:33)
用户参与
星數55
關注者數26
派生數15
提交數18
已啟用問題?
問題數17
打開的問題數8
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?