{"id":15282391,"url":"https://github.com/nullrefexcep/yii2-full-admin","last_synced_at":"2025-04-12T22:55:03.728Z","repository":{"id":57029277,"uuid":"71010666","full_name":"NullRefExcep/yii2-full-admin","owner":"NullRefExcep","description":"Advanced admin module","archived":false,"fork":false,"pushed_at":"2020-04-07T12:49:30.000Z","size":151,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T22:54:58.618Z","etag":null,"topics":["yii2","yii2-admin","yii2-extension"],"latest_commit_sha":null,"homepage":null,"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":"2016-10-15T20:08:54.000Z","updated_at":"2023-05-15T04:19:39.000Z","dependencies_parsed_at":"2022-08-23T18:50:18.943Z","dependency_job_id":null,"html_url":"https://github.com/NullRefExcep/yii2-full-admin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-full-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-full-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-full-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-full-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullRefExcep","download_url":"https://codeload.github.com/NullRefExcep/yii2-full-admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643049,"owners_count":21138353,"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-admin","yii2-extension"],"created_at":"2024-09-30T14:25:33.647Z","updated_at":"2025-04-12T22:55:03.700Z","avatar_url":"https://github.com/NullRefExcep.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 Full Admin\n===============\n[![Latest Stable Version](https://poser.pugx.org/nullref/yii2-full-admin/v/stable)](https://packagist.org/packages/nullref/yii2-full-admin) [![Total Downloads](https://poser.pugx.org/nullref/yii2-full-admin/downloads)](https://packagist.org/packages/nullref/yii2-full-admin) [![Latest Unstable Version](https://poser.pugx.org/nullref/yii2-full-admin/v/unstable)](https://packagist.org/packages/nullref/yii2-full-admin) [![License](https://poser.pugx.org/nullref/yii2-full-admin/license)](https://packagist.org/packages/nullref/yii2-full-admin)\n\nModule for administration with user management\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-full-admin \"*\"\n```\n\nor add\n\n```\n\"nullref/yii2-full-admin\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nThen You have run console command for install this module and run migrations:\n\n```\nphp yii module/install nullref/yii2-full-admin\n```\nAlso, you have to add `\\nullref\\fulladmin\\Bootstrap` class to bootstrap:\n```php\n//config\n    'bootstrap' =\u003e [\n        //..\n        \\nullref\\fulladmin\\Bootstrap::class,\n        //...\n    ],\n```\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### Admin Menu\n\nFor adding items to admin menu you have to implement IAdminModule interface, e.g.:\n\n```php\npublic static function getAdminMenu()\n   {\n       return [\n           'label' =\u003e \\Yii::t('admin', 'Subscription'),\n           'icon' =\u003e 'envelope',\n           'order' =\u003e 0,\n           'items' =\u003e [\n               'emails' =\u003e ['label' =\u003e \\Yii::t('app', 'Subscribers'), 'icon' =\u003e 'envelope-o', 'url' =\u003e ['/subscription/email/index']],\n               'messages' =\u003e ['label' =\u003e \\Yii::t('app', 'Messages'), 'icon' =\u003e 'envelope-o', 'url' =\u003e ['/subscription/message/index']],\n           ]\n       ];\n   }\n```\n\n### Admin Controller\n\nIf you use `IAdminController` interface in controller, admin layout and default access rule will be set in controller before action.\n\n### Modules system \n\nThis module integrated in system which contain other useful components. [View details](https://github.com/NullRefExcep/yii2-core)\n\n### Overriding\n\nExample:\n\n```php\n/** module config **/\n\n'admin' =\u003e [\n   'class' =\u003e 'nullref\\admin\\Module',\n   'controllerMap' =\u003e [  //controllers\n      'main' =\u003e 'app\\modules\\admin\\controllers\\MainController',\n   ],\n   'components' =\u003e [  //menu builder\n      'menuBuilder' =\u003e 'app\\\\components\\\\MenuBuilder',\n   ],\n],\n```\n\nAnd [translations](https://github.com/NullRefExcep/yii2-core#translation-overriding)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullrefexcep%2Fyii2-full-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullrefexcep%2Fyii2-full-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullrefexcep%2Fyii2-full-admin/lists"}