lemonmind/pimcore-save-string-operations
Composer 安装命令:
composer require lemonmind/pimcore-save-string-operations
包简介
It's Pimcore Bundle to replace strings permanently using Grid Options. It will save replaced strings directly in object
README 文档
README
It's Pimcore Bundle to replace ,concat strings or change number fields permanently using Grid Options. It will save replaced strings directly in object.
It supports object bricks and classification store.
Installation
composer require lemonmind/pimcore-save-string-operations
// config/bundles.php LemonmindSaveStringOperationsBundle::class => ['all' => true]
php bin/console assets:install
After correct installation go to your object's folder and right click on one of the objects.
Two buttons should appear

You can also access string replacement by clicking the column arrow in the grid as below

Usage of string replace
As mentioned above you can right-click any row in grid view to select it and bring up a context menu. If you want to include multiple rows, select them first and then right click on any of the selected ones.
There are two buttons available:
- String replace selected
- Works with filtered view
- String replace all
- Doesn't work with filters; Overwrite the field's data for all objects
After Choosing your desired option a window should appear:
Fill in all necessary fields and click apply to save changes.
For wysiwyg fields, the source code is searched and replaced.
Options details
- Select Field
- Field to affect
- Shows the fields of type
input,textarea,wysiwyg - Shows the fields that are not set as
Not editablein class definition
- Search
- Phrase to search for.
- If empty, the value searched for will be NULL
- Replace
- Phrase that will replace all matching occurrences of search
- Insensitive
- Allows to find matches regardless of the capitalization
Usage of string concatenate
As mentioned above you can right-click any row in grid view to select it and bring up a context menu. If you want to include multiple rows, select them first and then right click on any of the selected ones.
There are two buttons available:
- String concatenate selected
- Works with filtered view
- String concatenate all
- Doesn't work with filters; Overwrite the field's data for all objects
After Choosing your desired option a window should appear:
Fill in all necessary fields and click apply to save changes.
Options details
- Select Field
- First field to concat
- Shows the fields of type
input,textarea,wysiwygorinputwhich means user input - Shows the fields that are not set as
Not editablein class definition
- Separator
- Specifies how to separate two strings
- Select Field
- Second field to concat
- Save to
- Defines where to save concatenate string
Usage of string convert
As mentioned above you can right-click any row in grid view to select it and bring up a context menu. If you want to include multiple rows, select them first and then right click on any of the selected ones.
There are two buttons available:
- String convert selected
- Works with filtered view
- String convert all
- Doesn't work with filters; Overwrite the field's data for all objects
After Choosing your desired option a window should appear:
Fill in all necessary fields and click apply to save changes.
Options details
- Select Field
- Field to affect
- Shows the fields of type
input,textarea,wysiwyg - Shows the fields that are not set as
Not editablein class definition
- Capitalization
- Type of capitalization conversion
Usage of numeric field change
As mentioned above you can right-click any row in grid view to select it and bring up a context menu. If you want to include multiple rows, select them first and then right click on any of the selected ones.
There are two buttons available:
- Change selected
- Works with filtered view
- Change all
- Doesn't work with filters; Overwrite the field's data for all objects
After Choosing your desired option a window should appear:
Fill in all necessary fields and click apply to save changes.
Options details
- Select Field
- Field to affect
- Shows the fields that are not set as
Not editablein class definition
- Set to
- Specifies if you want to use specific value or percentage
- Value
- Numeric value to save
If "Set to" is defined to percentage
- Select Type
- Specifies whether you want to increase or decrease the value
lemonmind/pimcore-save-string-operations 适用场景与选型建议
lemonmind/pimcore-save-string-operations 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 90 次下载、GitHub Stars 达 6, 最近一次更新时间为 2022 年 08 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 lemonmind/pimcore-save-string-operations 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 lemonmind/pimcore-save-string-operations 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-08-31




