{"id":16316628,"url":"https://github.com/philippfrenzel/yii2slidebars","last_synced_at":"2025-07-24T11:44:10.748Z","repository":{"id":22814684,"uuid":"26161480","full_name":"philippfrenzel/yii2slidebars","owner":"philippfrenzel","description":"SlideBars Wrapper for Yii2","archived":false,"fork":false,"pushed_at":"2017-03-18T20:57:56.000Z","size":56,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T10:41:28.259Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philippfrenzel.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":"2014-11-04T09:15:00.000Z","updated_at":"2018-10-07T19:42:14.000Z","dependencies_parsed_at":"2022-08-05T19:16:13.834Z","dependency_job_id":null,"html_url":"https://github.com/philippfrenzel/yii2slidebars","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/philippfrenzel/yii2slidebars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2slidebars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2slidebars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2slidebars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2slidebars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philippfrenzel","download_url":"https://codeload.github.com/philippfrenzel/yii2slidebars/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2slidebars/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266836325,"owners_count":23992596,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-10T22:05:12.588Z","updated_at":"2025-07-24T11:44:10.712Z","avatar_url":"https://github.com/philippfrenzel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2slidebars\n=======\n\nThis extension is a wrapper for the amazing jquery slidebars which can be found here:\n\nhttp://plugins.adchsm.me/slidebars/\n\nPls. take a closer look at all the plugin options, which can be passed over by adding them to\nthe \"clientOptions\" parameter as shown below.\n\nA demo of the extension can be found here:\n\nhttp://yii2fullcalendar.beeye.org/index.php/site/slidebars\n\n[![Latest Stable Version](https://poser.pugx.org/philippfrenzel/yii2slidebars/v/stable.svg)](https://packagist.org/packages/philippfrenzel/yii2slidebars)\n[![Build Status](https://travis-ci.org/philippfrenzel/yii2slidebars.svg?branch=master)](https://travis-ci.org/philippfrenzel/yii2slidebars)\n[![Code Climate](https://codeclimate.com/github/philippfrenzel/yii2slidebars.png)](https://codeclimate.com/github/philippfrenzel/yii2slidebars)\n[![Version Eye](https://www.versioneye.com/php/philippfrenzel:yii2slidebars/badge.svg)](https://www.versioneye.com/php/philippfrenzel:yii2slidebars)\n[![License](https://poser.pugx.org/philippfrenzel/yii2slidebars/license.svg)](https://packagist.org/packages/philippfrenzel/yii2slidebars)\n\nInstallation\n============\n\nAdd this to your composer.json require section\n\n```json\n  \"philippfrenzel/yii2slidebars\": \"*\",\n```\n\nBasic Steps\n\nThese are the basic steps in order to get Slidebars working on your site. There are also more in-depth descriptions and API usage further down the page.\n\n + Add to your meta viewport tag to your head. \n \n ´´´\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no\"\u003e\n ´´´\n \n + Wrap your entire page design in an element with id canvas='container'.\n \n ´´´\n \u003cdiv canvas=\"container\"\u003e\u003c/div\u003e\n ´´´\n \n + Set the side of your Slidebars by adding modifier classes.\n + Add control classes to elements to use the Slidebars.\n\n## Add Control Classes\nThere are optional classes which when applied to elements, can be used control the Slidebars. If you do not wish to use these, you can set your own elements to control the Slidebars using the API.\n\n.sb-toggle-left can be used to toggle the left Slidebar. If clicked when the Slidebar is closed, it will open, if clicked when open, it will close.\n\n.sb-toggle-right can be used to toggle the right Slidebar. If clicked when the Slidebar is closed, it will open, if clicked when open, it will close.\n\n.sb-open-left can be used to open the left Slidebar when clicked.\n\n.sb-open-right can be used to open the right Slidebar when clicked.\n\n.sb-close can be used to close either Slidebar when clicked.\n\n## View Code\n\nAnd finaly the view should look like this:\n\n```php\n\n\u003c?php\nuse yii\\helpers\\Html;\n?\u003e\n\n\u003ch1\u003e\u003c?php echo Html::encode($this-\u003etitle); ?\u003e\u003c/h1\u003e\n\n\u003c?= \\yii2slidebars\\yii2slidebars::widget([\n    'id' =\u003e 'yourid'\n]); ?\u003e\n\n\u003c?php yii\\widgets\\Block::begin(array('id'=\u003e'sb-left')); ?\u003e\n    \u003ch4\u003e\u003ci class=\"fa fa-tag\"\u003e\u003c/i\u003e \u003c?= Html::encode('Search') ?\u003e\u003c/h4\u003e\n    ...\n\u003c?php yii\\widgets\\Block::end(); ?\u003e\n\n\u003c?php yii\\widgets\\Block::begin(array('id'=\u003e'sb-right')); ?\u003e\n    \u003ch4\u003e\u003ci class=\"fa fa-tag\"\u003e\u003c/i\u003e \u003c?= Html::encode('Toolbox') ?\u003e\u003c/h4\u003e\n    ...\n\u003c?php yii\\widgets\\Block::end(); ?\u003e\n\n```\n\nCurrently it cause issues with having multiple sly's on one page, but we know this issue and are working on it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2slidebars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippfrenzel%2Fyii2slidebars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2slidebars/lists"}