All Projects → nbphpcouncil → nb-yii2-plugin

nbphpcouncil / nb-yii2-plugin

Licence: other
Yii2 Framework plugin for NetBeans

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
ApacheConf
554 projects

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

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].