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
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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pimlab/website-settings 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Persistent settings package for Laravel framework.
Pimcore 5.x Website Indexer (powered by Zend Search Lucene)
Integration module allows to integrate Pimcore platform with Magento 2
A Zend Framework module to quickly and easily set PHP settings.
Settings Card for Laravel Nova.
Automatically translate and review your content via Lokalise.
统计信息
- 总下载量: 14.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-04-28



