pimlab/website-settings 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pimlab/website-settings

Composer 安装命令:

composer require pimlab/website-settings

包简介

Pimcore 5 Website Settings Bundle - Website Settings installer

README 文档

README

Website Settings installer for Pimcore 5 and Pimcore 6

Often Pimcore Website-Settings are defined but has different value, depending on the system instance is running on and settings type. Additionally if you set up a new (development) environment the settings has set again because you can't add the data filled settings to your VCS. Is there more than one setting you have to add, it will be a very stupid work it you do it more than one time.

With Pimcore Website Settings Bundle you can define settings you need in every environment an can add them with only one click. If you add some new settings later, you can add them in all environments with same click.

Requirements

  • Pimcore >= 5.4.0
  • Pimcore >= 6.0.0

Installation

$ composer require pimlab/website-settings

Usage

There is a simple way to use the bundle and define them in your project.

Add Website Settings Bundle configuration

Add configuration to your /app/config/config.yml file or put them in different YAML files and include them to the globe config.

Basic Config

website_settings:
    settings:
        my_custom_setting_key:
            type: 'text'
            data: 'This is a text value'
        another_custom_setting_key:
            type: 'bool'
            data: true

Install Website Settings from definition

Login into the Backend of your Pimcore instance you had defined the Settings in. Open the Manage Extentions view by clicking Tools -> Extensions in the sidebar.

You will find an Extension called WebsiteSettingsBundle. If you will see a green (+) on Install/Uninstall column if they are any setting defined but not added to the system.

On a click all defined Settings will be installed.

Install Success

Install Failed

Nothing to install yet

Configuration Options

Setting Default Required Description
type yes Valid Types: text, document, asset, object, bool
data no If you want to preset data, you can do it here. Mostly useful for text and bool type.
multilang false no If true, the setting will add for every language defined in Pimcore
multisite false no If true, the setting will add for every site defined in Pimcore

Advanced Usage

If you have a multi site and/or multi lingual page, you can add a setting for every lang and/or site instance to your system.
NOTICE: If you set multilang and multisite to true on one setting, the setting will be add multiplied by site and lang!

Advanced Config

website_settings:
    settings:
        my_custom_setting_key:
            type: 'text'
            data: 'This is a text value'
        another_custom_setting_key:
            type: 'bool'
            data: true
        third_custom_setting_key:
            type: 'document'
            multilang: true
            multisite: true

Copyright and license

GPLv3 - Visit License
Copyright: PimLab

pimlab/website-settings 适用场景与选型建议

pimlab/website-settings 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.75k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 04 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「Settings」 「pimcore」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 pimlab/website-settings 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 pimlab/website-settings 我们能提供哪些服务?
定制开发 / 二次开发

基于 pimlab/website-settings 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 14.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-04-28