{"id":13790324,"url":"https://github.com/NullRefExcep/yii2-category","last_synced_at":"2025-05-12T07:31:54.551Z","repository":{"id":34543587,"uuid":"38487983","full_name":"NullRefExcep/yii2-category","owner":"NullRefExcep","description":"Simple package for taxonomy management","archived":false,"fork":false,"pushed_at":"2019-11-20T23:40:59.000Z","size":7363,"stargazers_count":11,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-11T19:51:45.454Z","etag":null,"topics":["yii2","yii2-extension","yii2-modules"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NullRefExcep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-03T10:48:54.000Z","updated_at":"2021-04-04T10:20:10.000Z","dependencies_parsed_at":"2022-09-08T14:02:59.003Z","dependency_job_id":null,"html_url":"https://github.com/NullRefExcep/yii2-category","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-category","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-category/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-category/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-category/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullRefExcep","download_url":"https://codeload.github.com/NullRefExcep/yii2-category/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253695224,"owners_count":21948842,"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":["yii2","yii2-extension","yii2-modules"],"created_at":"2024-08-03T22:00:41.504Z","updated_at":"2025-05-12T07:31:49.536Z","avatar_url":"https://github.com/NullRefExcep.png","language":"PHP","funding_links":[],"categories":["Yii2 modules system (WIP):"],"sub_categories":[],"readme":"Yii2 Category\n===============\n[![Latest Stable Version](https://poser.pugx.org/nullref/yii2-category/v/stable)](https://packagist.org/packages/nullref/yii2-category) [![Total Downloads](https://poser.pugx.org/nullref/yii2-category/downloads)](https://packagist.org/packages/nullref/yii2-category) [![Latest Unstable Version](https://poser.pugx.org/nullref/yii2-category/v/unstable)](https://packagist.org/packages/nullref/yii2-category) [![License](https://poser.pugx.org/nullref/yii2-category/license)](https://packagist.org/packages/nullref/yii2-category)\n\nModule for categories (WIP)\n\n![](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/screen-demo.gif)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist nullref/yii2-category \"*\"\n```\n\nor add\n\n```\n\"nullref/yii2-category\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nThen You have run console command for install this module:\n\n```\nphp yii module/install nullref/yii2-category\n```\n\nand module will be added to your application config (`@app/config/installed_modules.php`)\n\nPay attention that if you don't use our [application template](https://github.com/NullRefExcep/yii2-boilerplate) \nit needs to change config files structure to have ability run commands that show above.\n\nPlease check this [documentation section](https://github.com/NullRefExcep/yii2-core#config-structure)\n\n![](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/core-install.gif)\n\n\nModule integration\n------------------\n\nIf you need additional information about integration current module with your project, please check [example folder](https://github.com/NullRefExcep/yii2-category/tree/master/docs/examples)\n\nUsing with admin module\n----------------------------\n\nYou can use this module with modules:\n- [Yii2 Admin](https://github.com/NullRefExcep/yii2-admin).\n- [Yii2 Full Admin](https://github.com/NullRefExcep/yii2-full-admin).\n\nModels overriding\n-----------------\n\n```php\n\n    'category' =\u003e [\n        'class' =\u003e 'nullref\\category\\Module',\n        'classMap' =\u003e [\n            'Category' =\u003e 'app\\models\\Category',\n            'CategoryQuery' =\u003e 'app\\models\\CategoryQuery',\n        ],\n    ],\n```\n\nAlso you have to add module to bootstrap list of application:\n\n```php\n...\n'bootstrap' =\u003e ['category',...],\n...\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNullRefExcep%2Fyii2-category","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNullRefExcep%2Fyii2-category","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNullRefExcep%2Fyii2-category/lists"}