{"id":16012407,"url":"https://github.com/cornernote/gii-prefixmodel-generator","last_synced_at":"2025-03-17T18:17:24.739Z","repository":{"id":12641651,"uuid":"15313159","full_name":"cornernote/gii-prefixmodel-generator","owner":"cornernote","description":"Makes it easier to generate all models by allowing a model class prefix.","archived":false,"fork":false,"pushed_at":"2014-01-06T09:31:41.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T05:23:41.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cornernote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-19T14:06:21.000Z","updated_at":"2014-01-06T09:31:41.000Z","dependencies_parsed_at":"2022-08-28T09:32:01.775Z","dependency_job_id":null,"html_url":"https://github.com/cornernote/gii-prefixmodel-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fgii-prefixmodel-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fgii-prefixmodel-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fgii-prefixmodel-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fgii-prefixmodel-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cornernote","download_url":"https://codeload.github.com/cornernote/gii-prefixmodel-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085011,"owners_count":20395523,"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":[],"created_at":"2024-10-08T14:03:09.589Z","updated_at":"2025-03-17T18:17:24.716Z","avatar_url":"https://github.com/cornernote.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gii PrefixModel Generator for Yii\n\nMakes it easier to generate all models by allowing a model class prefix.\n\n\n## Features\n\n- Adds an option into the form for Class Prefix.\n- Extends from Yii's core ModelGenerator.\n- Defaults tablename to *, which will generate all models.\n\n\n## Installation\n\nPlease download using ONE of the following methods:\n\n\n### Composer Installation\n\n```\ncurl http://getcomposer.org/installer | php\nphp composer.phar require cornernote/gii-prefix-generator\n```\n\n\n### Manual Installation\n\nDownload the [latest version](https://github.com/cornernote/gii-prefixmodel-generator/archive/master.zip) and move the `gii-prefixmodel-generator` folder into your `protected/extensions` folder.\n\n\n## Configuration\n\nAdd the path to gii-prefixmodel-generator to the `generatorPaths` in your gii configuration:\n\n```php\nreturn array(\n\t'modules' =\u003e array(\n\t\t'gii' =\u003e array(\n\t\t\t'class'=\u003e'system.gii.GiiModule',\n\t\t\t'generatorPaths' =\u003e array(\n\t\t\t\t'vendor.cornernote.gii-prefixmodel-generator',\n\t\t\t\t//'ext.gii-prefixmodel-generator', // if you downloaded into ext\n\t\t\t),\n\t\t),\n\t),\n);\n```\n\n## Usage\n\nVisit `index.php?r=gii`, then choose PrefixModel from the menu.\n\n\n## License\n\n- Author: Brett O'Donnell \u003ccornernote@gmail.com\u003e\n- Source Code: https://github.com/cornernote/gii-prefixmodel-generator\n- Copyright © 2013 Mr PHP \u003cinfo@mrphp.com.au\u003e\n- License: BSD-3-Clause https://raw.github.com/cornernote/gii-prefixmodel-generator/master/LICENSE\n\n\n## Links\n\n- [Yii Extension](http://www.yiiframework.com/extension/gii-prefixmodel-generator)\n- [Composer Package](https://packagist.org/packages/cornernote/gii-prefixmodel-generator)\n- [MrPHP](http://mrphp.com.au)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fgii-prefixmodel-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcornernote%2Fgii-prefixmodel-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fgii-prefixmodel-generator/lists"}