{"id":15572934,"url":"https://github.com/kriptograf/yii2-menu","last_synced_at":"2025-06-19T04:41:14.494Z","repository":{"id":57009205,"uuid":"81209919","full_name":"kriptograf/yii2-menu","owner":"kriptograf","description":"Extension manage menu for Yii2","archived":false,"fork":false,"pushed_at":"2023-01-24T14:03:09.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T05:11:31.892Z","etag":null,"topics":["bootstrap3","menu","widget","yii2","yii2-extension"],"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/kriptograf.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":"2017-02-07T13:16:34.000Z","updated_at":"2023-01-24T14:03:13.000Z","dependencies_parsed_at":"2023-02-13T22:00:34.741Z","dependency_job_id":null,"html_url":"https://github.com/kriptograf/yii2-menu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kriptograf","download_url":"https://codeload.github.com/kriptograf/yii2-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250540945,"owners_count":21447426,"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":["bootstrap3","menu","widget","yii2","yii2-extension"],"created_at":"2024-10-02T18:08:44.666Z","updated_at":"2025-04-24T00:43:55.626Z","avatar_url":"https://github.com/kriptograf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Menu module\n===========\nMenu module for you site\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\ncomposer require --prefer-dist kriptograf/yii2-menu \"*\"\n```\n\nor add\n\n```\n\"kriptograf/yii2-menu\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nAdd the following code to config file Yii2\n\n```php\n'modules' =\u003e [\n    'menu' =\u003e [\n        'class' =\u003e '\\kriptograf\\menu\\Module',\n    ],\n]\n```\n\nAdd the following code to config file Yii2 for settings module kartik-v gridview\n\n```php\n    'modules' =\u003e [\n       'gridview' =\u003e  [\n            'class' =\u003e '\\kartik\\grid\\Module'\n            // enter optional module parameters below - only if you need to  \n            // use your own export download action or custom translation \n            // message source\n            // 'downloadAction' =\u003e 'gridview/export/download',\n            'i18n' =\u003e [\n                'class' =\u003e 'yii\\i18n\\PhpMessageSource',\n                'basePath' =\u003e '@kvgrid/messages',\n                'forceTranslation' =\u003e true\n            ]\n        ]\n    ];\n```\n\n## Configuration\n\n### 1. Create database schema\n\nMake sure that you have properly configured `db` application component and run the following command:\n\n```bash\n$ php yii migrate/up --migrationPath=@vendor/kriptograf/yii2-menu/migrations\n\n```\n\n### 2. Getting started for admin\n\n```php\n/menu/creator\n```\n\n\nUsage\n-----\n\nOnce the extension is installed, simply use it in your code by  :\n\n```php\n\u003c?php echo \\kriptograf\\menu\\widgets\\MenuWidget::widget(['code'=\u003e'placement_you_code'])?\u003e\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriptograf%2Fyii2-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkriptograf%2Fyii2-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriptograf%2Fyii2-menu/lists"}