Git Product home page Git Product logo

yii2-app-builder's Introduction

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.

yii2-app-builder's People

Contributors

arogachev avatar bscheshirwork avatar cebe avatar creocoder avatar davertmik avatar elisdn avatar githubjeka avatar gonimar avatar jasrags avatar jwaldock avatar kartik-v avatar klimov-paul avatar kumorig avatar maximal avatar mohorev avatar pana1990 avatar pastuhov avatar qiangxue avatar ragazzo avatar resurtm avatar samdark avatar schmunk42 avatar sdkiller avatar silverfire avatar skiptirengu avatar slavcodev avatar softark avatar thiagotalma avatar trianman avatar tunecino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yii2-app-builder's Issues

Cannot use yii\db\Schema as Schema because the name is already in use

What steps will reproduce the problem?

After creating a schema (http://frontend.dev/index.php?r=builder) the error occurs when trying to create an entity

Additional info

PHP Fatal error: Cannot use yii\db\Schema as Schema because the name is already in use in D:\DEV\yii2\vendor\tunecino\yii2-schema-builder\models\Attribute.php on line 6

This was a fresh "installation". I updated Yii2* and dependencies to most current stable versions without getting rid of this error.
When the "use Schema" is commented the next error occurs at the TYPES...

Q A
Yii vesion 2.0.15.1
PHP version PHP 5.6.3 (cli) (built: Nov 12 2014 17:18:08)
Operating system Windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.