Yii2 Framework plugin for NetBeans 8.0+
- NetBeans 8.0+ (depend on build version of NetBeans now)
- Yii2 Framework (app-basic)
- Composer
- Badge icon
- New Project Wizard (create a project via composer)
- Go to View/Action Action
- Create htaccess Action
- Hyperlink Navigation
- Custom alias paths support
Right-click your php project > Frameworks > Yii2 > Check Enabled
Have a look at http://www.yiiframework.com/doc-2.0/guide-structure-applications.html#basepath
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.
- Open your terminal
- Install Composer
composer global require "fxp/composer-asset-plugin:1.0.0"
composer config (--global) github-oauth.github.com YOUR_TOKEN
You can create a personal token at https://github.com/settings/applications
- New Project > PHP > Yii2 Framework Application
- Input proper values
- Finished
If it fails, please run the composer command using the terminal manually.
Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2