tequilarapido/php-serialized
Composer 安装命令:
composer require tequilarapido/php-serialized
包简介
Deals with php serialized data. (ie. search & replace)
README 文档
README
Can be used to replace strings in PHP serialized strings. (take a look at the tests)
Example
// Serialized stuff
$user = new stdClass();
$user->email = 'email@example.com';
$serialized = serialize($user);
// Replace mail
$sr = new SearchReplace();
$result = $sr->run('email@example.com', 'email@anotherdomain.com', $serialized);
Credits
Most of the code is from googling around. If you think it's your code that I'm using, let me know and I'll be happy to mention it.
统计信息
- 总下载量: 905
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-14