All Projects → yiisoft → Yii2 Gii

yiisoft / Yii2 Gii

Licence: bsd-3-clause
Yii 2 Gii Extension

Projects that are alternatives of or similar to Yii2 Gii

Yii2 Shell
Interactive shell
Stars: ✭ 129 (-29.51%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (-28.96%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Mongodb
Yii 2 MongoDB extension
Stars: ✭ 299 (+63.39%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 App Advanced
Yii 2.0 Advanced Application Template
Stars: ✭ 1,569 (+757.38%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Openapi
REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
Stars: ✭ 99 (-45.9%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Docker
Official Docker images suitable for Yii 2.0
Stars: ✭ 286 (+56.28%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Httpclient
Yii 2 HTTP client
Stars: ✭ 406 (+121.86%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2
Yii 2: The Fast, Secure and Professional PHP Framework
Stars: ✭ 13,852 (+7469.4%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Smarty
Yii 2 Smarty Extension.
Stars: ✭ 67 (-63.39%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 App Basic
Yii 2.0 Basic Application Template
Stars: ✭ 548 (+199.45%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Swiftmailer
Yii 2 swiftmailer extension.
Stars: ✭ 109 (-40.44%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Bootstrap
Yii 2 Bootstrap 3 Extension
Stars: ✭ 177 (-3.28%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Imagine
Yii 2 imagine extension
Stars: ✭ 271 (+48.09%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Jui
Yii 2 JQuery UI extension.
Stars: ✭ 120 (-34.43%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Apidoc
Yii 2 apidoc extension.
Stars: ✭ 236 (+28.96%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Elasticsearch
Yii 2 Elasticsearch extension
Stars: ✭ 401 (+119.13%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Bootstrap4
Yii 2 Bootstrap 4 Extension
Stars: ✭ 204 (+11.48%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Redis
Yii 2 Redis extension.
Stars: ✭ 416 (+127.32%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Sphinx
Yii 2 Sphinx extension.
Stars: ✭ 172 (-6.01%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Debug
Debug Extension for Yii 2
Stars: ✭ 179 (-2.19%)
Mutual labels:  hacktoberfest, yii2, yii

Gii Extension for Yii 2


This extension provides a Web-based code generator, called Gii, for Yii framework 2.0 applications. You can use Gii to quickly generate models, forms, modules, CRUD, etc.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev --prefer-dist yiisoft/yii2-gii

or add

"yiisoft/yii2-gii": "~2.1.0"

to the require-dev section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

return [
    'bootstrap' => ['gii'],
    'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
        ],
        // ...
    ],
    // ...
];

You can then access Gii through the following URL:

http://localhost/path/to/index.php?r=gii

or if you have enabled pretty URLs, you may use the following URL:

http://localhost/path/to/index.php/gii

Using the same configuration for your console application, you will also be able to access Gii via command line as follows,

# change path to your application's base path
cd path/to/AppBasePath

# show help information about Gii
yii help gii

# show help information about the model generator in Gii
yii help gii/model

# generate City model from city table
yii gii/model --tableName=city --modelClass=City
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].