{"id":14966396,"url":"https://github.com/yiisoft/yii2-gii","last_synced_at":"2025-05-14T03:11:05.094Z","repository":{"id":11589383,"uuid":"14080037","full_name":"yiisoft/yii2-gii","owner":"yiisoft","description":"Yii 2 Gii Extension","archived":false,"fork":false,"pushed_at":"2025-02-13T21:21:29.000Z","size":10977,"stargazers_count":202,"open_issues_count":102,"forks_count":190,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-27T18:01:45.455Z","etag":null,"topics":["code-generator","hacktoberfest","php","yii","yii2"],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-gii"}},"created_at":"2013-11-03T04:18:39.000Z","updated_at":"2025-04-01T06:30:36.000Z","dependencies_parsed_at":"2024-03-06T15:04:03.090Z","dependency_job_id":"f2c69bcb-796a-4adf-b932-9f718470d1ab","html_url":"https://github.com/yiisoft/yii2-gii","commit_stats":{"total_commits":4341,"total_committers":223,"mean_commits":"19.466367713004484","dds":0.6463948398986409,"last_synced_commit":"c025c29a15ce7011a9fed14efadc9cea56cf0ca8"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-gii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-gii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-gii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-gii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-gii/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252941414,"owners_count":21828872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-generator","hacktoberfest","php","yii","yii2"],"created_at":"2024-09-24T13:36:19.422Z","updated_at":"2025-05-14T03:11:05.055Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-gii"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eGii Extension for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis extension provides a Web-based code generator, called Gii, for [Yii framework 2.0](https://www.yiiframework.com) applications.\nYou can use Gii to quickly generate models, forms, modules, CRUD, etc.\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\nDocumentation is at [docs/guide/README.md](docs/guide/README.md).\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-gii/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-gii)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-gii/downloads.png)](https://packagist.org/packages/yiisoft/yii2-gii)\n[![Build Status](https://github.com/yiisoft/yii2-gii/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-gii/actions)\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --dev --prefer-dist yiisoft/yii2-gii\n```\n\nor add\n\n```\n\"yiisoft/yii2-gii\": \"~2.1.0\"\n```\n\nto the require-dev section of your `composer.json` file.\n\n\nUsage\n-----\n\nOnce the extension is installed, simply modify your application configuration as follows:\n\n```php\nreturn [\n    'bootstrap' =\u003e ['gii'],\n    'modules' =\u003e [\n        'gii' =\u003e [\n            'class' =\u003e 'yii\\gii\\Module',\n        ],\n        // ...\n    ],\n    // ...\n];\n```\n\nYou can then access Gii through the following URL:\n\n```\nhttp://localhost/path/to/index.php?r=gii\n```\n\nor if you have enabled pretty URLs, you may use the following URL:\n\n```\nhttp://localhost/path/to/index.php/gii\n```\n\nUsing the same configuration for your console application, you will also be able to access Gii via\ncommand line as follows,\n\n```\n# change path to your application's base path\ncd path/to/AppBasePath\n\n# show help information about Gii\nyii help gii\n\n# show help information about the model generator in Gii\nyii help gii/model\n\n# generate City model from city table\nyii gii/model --tableName=city --modelClass=City\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-gii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-gii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-gii/lists"}