Yii2 template with GUI to prototype and generate working REST or WEB apps in no time
Clone or download
Pull request Compare This branch is 21 commits ahead, 38 commits behind yiisoft:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
api
auth
backend
common
console
docs
environments
frontend
vagrant Updates from upstream yiisoft/yii2-app-advanced Nov 4, 2017
.bowerrc
.gitattributes
.gitignore
.travis.yml
LICENSE.md
README.md
Vagrantfile
codeception.yml
composer.json
init
init.bat
requirements.php
yii.bat

README.md

yii2-app-builder

Latest Stable Version Total Downloads

This is a fork of yiisoft/yii2-app-advanced template to which I have added the following:

The plan is to keep this fork up-to-date with official template while keep improving builder & RESTful related stuff.

Installation

If you do not have Composer, you may follow the instructions in the Yii Guide or getcomposer.org to install it.

You can then install this project template using the following command:

composer create-project --prefer-dist tunecino/yii2-app-builder your-app-name

Once the command finish go inside the created folder and init the app on dev mode same as you usually do with the advanced template:

cd your-app-name 
./init

Then create a new database and adjust related configurations in common/config/main-local.php. You may also need to set document roots of your web server as shown in the 4th step of the Preparing application section except that you'll also need to do the same for api.dev and auth.dev. Alternatively you can also use vagrant.

Usage

After installing the template, configuring DB and init the dev mode, go to either frontend.dev/index.php?r=builder or api.dev/builder, use the GUI to prototype your app then hit that Generate button. If it says DONE, the preview link of each entity should lead you to a working app.