simplepleb/thememanager-module
Composer 安装命令:
composer require simplepleb/thememanager-module
包简介
Used to manage site themes for front and back end Laravel
README 文档
README
Theme Management (Front End) For Laravel CMS.
Dashboard
Using the theme manager dashboard you can click to change the theme of the site. Themes are displayed with a screenshot, description and related information. By clicking 'Activate' your site (front-end) theme will be updated to use the selected theme.
If you choose to disable the theme, by clicking the 'disable' button on the dashboard, your site will only display the default Laravel login page if it exists.
Install
composer require simplepleb/thememanager-module
After Install
Publish the custom blade components. The following command will copy files to the folder. resources/views/components/buttons
php artisan vendor:publish --tag=theme-manager
Theme Views
Theme folders have json files that make it easy to use the correct view from your controller method. Take a look at pages.json in any of the theme folders for a better understanding.
Simple Previews
It is simple to preview any theme view page. Open the /thememanager/preview/{VIEW_PAGE}/{THEME_NAME} in your browser. The VIEW_PAGE value is the name of the blade template file you want to preview. The (optional) THEME_NAME allows you to preview any theme with ease. If THEME_NAME is not specified, the preview will use the default theme.
Screenshots
Dashboard
Settings
Each theme can have its own settings - add settings and default values in the public/themes/{name}/custom_fields.json file - which will build the settings form and allow the end-user to modify variables and values used throughout the theme. Use these values inside your theme blade files and elsewhere.
simplepleb/thememanager-module 适用场景与选型建议
simplepleb/thememanager-module 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 94 次下载、GitHub Stars 达 4, 最近一次更新时间为 2021 年 05 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「laravel-cms」 「laravel-dashboard」 「laravel-theme」 「laravel-themes」 「laravel-theme-maker」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 simplepleb/thememanager-module 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 simplepleb/thememanager-module 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 simplepleb/thememanager-module 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Alfabank REST API integration
A laravel library to help you quickly gets started with cms items (menus,blog and pages)
Themes allow you to create and switch between themes in your Laravel app.
A simple package for creating CMS pages.
A PingPing tile for Laravel Dashboard
A tile bringing support for ukfast/laravel-health-check to spatie/laravel-dashboard.
统计信息
- 总下载量: 94
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 7
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-05-08

