{"id":21373045,"url":"https://github.com/hiqdev/yii2-thememanager","last_synced_at":"2025-10-13T20:42:32.956Z","repository":{"id":30627170,"uuid":"34182611","full_name":"hiqdev/yii2-thememanager","owner":"hiqdev","description":"Theme Manager for Yii 2","archived":false,"fork":false,"pushed_at":"2024-08-08T13:28:05.000Z","size":195,"stargazers_count":24,"open_issues_count":1,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-27T19:13:20.534Z","etag":null,"topics":["hacktoberfest","themes","yii2"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiqdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-18T21:01:36.000Z","updated_at":"2024-08-08T13:28:09.000Z","dependencies_parsed_at":"2024-11-22T08:39:42.645Z","dependency_job_id":null,"html_url":"https://github.com/hiqdev/yii2-thememanager","commit_stats":{"total_commits":220,"total_committers":4,"mean_commits":55.0,"dds":"0.25909090909090904","last_synced_commit":"5247b6eaa9628c9f3f1dd8000f62a8fde21efae1"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-thememanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-thememanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-thememanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-thememanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiqdev","download_url":"https://codeload.github.com/hiqdev/yii2-thememanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248825233,"owners_count":21167453,"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":["hacktoberfest","themes","yii2"],"created_at":"2024-11-22T08:24:50.950Z","updated_at":"2025-10-13T20:42:27.932Z","avatar_url":"https://github.com/hiqdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Theme Manager\n\n**Pluggable themes for Yii2**\n\n[![Latest Stable Version](https://poser.pugx.org/hiqdev/yii2-thememanager/v/stable)](https://packagist.org/packages/hiqdev/yii2-thememanager)\n[![Total Downloads](https://poser.pugx.org/hiqdev/yii2-thememanager/downloads)](https://packagist.org/packages/hiqdev/yii2-thememanager)\n[![Build Status](https://img.shields.io/travis/hiqdev/yii2-thememanager.svg)](https://travis-ci.org/hiqdev/yii2-thememanager)\n[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/yii2-thememanager.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-thememanager/)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/yii2-thememanager.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-thememanager/)\n[![Dependency Status](https://www.versioneye.com/php/hiqdev:yii2-thememanager/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:yii2-thememanager/dev-master)\n\nThis [Yii2] plugin provides easy theming for Yii2 projects.\nAnd allows to create and use themes as composer packages.\nSo changing a theme on a site becomes as simple as changing\na single require line in `composer.json`.\n\nAt the moment there are several themes available:\n\n- AdminLte          - [yii2-theme-adminlte]\n- Agency            - [yii2-theme-agency]\n- DataServ          - [yii2-theme-dataserv]\n- Flat              - [yii2-theme-flat]\n- Hyde              - [yii2-theme-hyde]\n- Obaju             - [yii2-theme-obaju]\n- Yii2 original     - [yii2-theme-original]\n- Sailor            - [yii2-theme-sailor]\n- Twenty Fifteen    - [yii2-theme-twentyfifteen]\n\n[yii2]:                     http://www.yiiframework.com/\n[yii2-theme-adminlte]:      https://github.com/hiqdev/yii2-theme-adminlte\n[yii2-theme-agency]:        https://github.com/hiqdev/yii2-theme-agency\n[yii2-theme-dataserv]:      https://github.com/hiqdev/yii2-theme-dataserv\n[yii2-theme-flat]:          https://github.com/hiqdev/yii2-theme-flat\n[yii2-theme-hyde]:          https://github.com/hiqdev/yii2-theme-hyde\n[yii2-theme-obaju]:         https://github.com/hiqdev/yii2-theme-obaju\n[yii2-theme-original]:      https://github.com/hiqdev/yii2-theme-original\n[yii2-theme-sailor]:        https://github.com/hiqdev/yii2-theme-sailor\n[yii2-theme-twentyfifteen]: https://github.com/hiqdev/yii2-theme-twentyfifteen\n\n## Installation\n\nThis package is not intended to be required directly in your project.\nInstead you should require theme(s) you've chosen and this package\nwill get required as a dependency.\n\nPlease see [hiqdev/hisite-template] as example of project using this theming\nlibrary.\n\n[hiqdev/hisite-template]: https://github.com/hiqdev/hisite-template\n\n## Idea\n\nThe main goal of this theming library is to allow creation and use of easy\npluggable themes: to change a theme on a site it is enough just to require\nother theme package in project's `composer.json`.\n\nTo achieve this goal several technologies were used:\n\n- [Yii2 theming] with `pathMap` auto assembling;\n- [Yii2 dependency injection] for widgets and menus;\n- [composer-config-plugin] to create themes as plugins i.e. code combined and distributed\n  together with configuration.\n\nThis package provides:\n\n- bootrstrappable `ThemeManager` component that collects and setups in application view\n  proper `Theme` object with proper `pathMap`;\n- widgets and menus that can be configured through params and substituted with DI;\n- theme `DebugPanel` showing actual `pathMap`.\n\n[composer-config-plugin]:    https://github.com/hiqdev/composer-config-plugin\n[yii2 dependency injection]: http://www.yiiframework.com/doc-2.0/guide-concept-di-container.html\n[yii2 theming]:              http://www.yiiframework.com/doc-2.0/guide-output-theming.html\n\n## Configuration\n\nThis extension is supposed to be used with [composer-config-plugin].\n\nAlso you can use it usual way by copy-pasting config.\nSee [src/config/web.php] for configuration example.\n\nAvailable configuration parameters:\n\n- `themeManager.defaultTheme` - default theme\n- `copyright.year` - **CopyrightYears** widget\n- `copyright.years`\n- `logo.url` - **LogoLink** widget\n- `logo.name`\n- `logo.options`\n- `logo.image`\n- `logo.imageOptions`\n- `logo.smallImage`\n- `logo.smallImageOptions`\n- `organization.url` - **OrganizationLink** widget\n- `organization.name`\n- `organization.options`\n- `poweredBy.url` - **PoweredBy** widget\n- `poweredBy.name`\n- `poweredBy.version`\n- `poweredBy.options`\n- `socialLinks.links` - **SocialLinks** widget\n\nFor more details please see [src/config/params.php].\n\n[composer-config-plugin]:   https://github.com/hiqdev/composer-config-plugin\n[src/config/params.php]:    src/config/params.php\n[src/config/web.php]:       src/config/web.php\n\n## License\n\nThis project is released under the terms of the BSD-3-Clause [license](LICENSE).\nRead more [here](http://choosealicense.com/licenses/bsd-3-clause).\n\nCopyright © 2015-2017, HiQDev (http://hiqdev.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-thememanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiqdev%2Fyii2-thememanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-thememanager/lists"}