{"id":37234019,"url":"https://github.com/zacksleo/yii2-menu","last_synced_at":"2026-01-15T03:56:51.504Z","repository":{"id":57089098,"uuid":"73051586","full_name":"zacksleo/yii2-menu","owner":"zacksleo","description":"Personalized bootstrap menu menager for framework Yii2 - ","archived":false,"fork":true,"pushed_at":"2016-11-07T09:15:32.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-09T03:59:30.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://yii2-menu.pceuropa.net","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pceuropa/yii2-menu","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zacksleo.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":"2016-11-07T07:10:39.000Z","updated_at":"2016-11-07T07:10:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zacksleo/yii2-menu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zacksleo/yii2-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacksleo","download_url":"https://codeload.github.com/zacksleo/yii2-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-15T03:56:50.812Z","updated_at":"2026-01-15T03:56:51.482Z","avatar_url":"https://github.com/zacksleo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/pceuropa/yii2-menu/v/stable)](https://packagist.org/packages/pceuropa/yii2-menu) [![Total Downloads](https://poser.pugx.org/pceuropa/yii2-menu/downloads)](https://packagist.org/packages/pceuropa/yii2-menu) [![Latest Unstable Version](https://poser.pugx.org/pceuropa/yii2-menu/v/unstable)](https://packagist.org/packages/pceuropa/yii2-menu) [![License](https://poser.pugx.org/pceuropa/yii2-menu/license)](https://packagist.org/packages/pceuropa/yii2-menu)\n\nBootstrap Menu Builder for Yii2\n============================\n\n\n![preview](http://pceuropa.net/imgs/yii2-menu.png)\n\n[DEMO](http://yii2-menu.pceuropa.net/menu/creator/)\n\n## Features\n\n * Creating links, drop menus, line (diver) in the navbar-left and/or navbar-right\n * Sorting, editing, and deleting using drag and drop\n * No jQuery for drag and drop ([RubaXa/Sortable](https://github.com/RubaXa/Sortable))\n * CRUD operations by jQuery Ajax)\n \n## Installation\n```\ncomposer require zacksleo/yii2-menu dev-master\n```\n\nAdd the following code to config file Yii2\n```php\n'modules' =\u003e [\n\t'menu' =\u003e [\n            'class' =\u003e '\\zacksleo\\menu\\Menu',\n        ],\n\t]\n```\n\n## Configuration\n\n### 1. Create database schema\n\nMake sure that you have properly configured `db` application component\nand run the following command:\n\n```bash\n$ php yii migrate/up --migrationPath=@vendor/zacksleo/yii2-menu/migrations\n\n```\n\n\n### 2. Add the following code to config file Yii2\n```php\n\nuse zacksleo\\menu\\Menu;\n\nNavBar::begin(['brandLabel' =\u003e 'Brand','brandUrl' =\u003e Url::home(),]);\n\necho Nav::widget([ 'options' =\u003e ['class' =\u003e 'navbar-nav navbar-left'],\n\t\t\t\t\t'items' =\u003e Menu::NavbarLeft(1)  // argument is id of menu\n\t\t\t\t]);\t\n\t\t\t\t\t\necho Nav::widget([ 'options' =\u003e ['class' =\u003e 'navbar-nav navbar-right'],\n\t\t\t\t\t'items' =\u003e Menu::NavbarRight(1)\n\t\t\t\t]);\nNavBar::end();\n\n```\n### 3. Getting started\nexample.com/menu/creator\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacksleo%2Fyii2-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-menu/lists"}