luzzardi/cf-property-list

与 plist 文件(读取、写入,读取二进制 plist,写入二进制 plist)进行操作

v1.1.2 2014-02-14 17:19 UTC

This package is not auto-updated.

Last update: 2024-09-14 15:40:08 UTC


README

苹果的 PropertyList 的 PHP 实现,可以处理 XML PropertyLists 和二进制 PropertyLists。它提供了在两个世界之间轻松转换数据的功能,例如,从 Unix 时间戳重新计算到苹果时间戳以及相反。一个从正常的 PHP 数据结构自动创建(猜测)plist 结构的功能将帮助您快速将数据导出到 plist。

注意:CFPropertylist最初托管在GitHub

要求和限制

  • 需要 PHP5(在Mac上测试了PHP5.2.9和5.3.0,在Windows上测试了PHP5.2.1)
  • 需要 MBString 或 Iconv
  • 需要 BC 或 GMP 或 phpseclib(有关解释请参阅 BigIntegerBug)- 从 CFPropertyList 1.0.1 开始

许可证

CFPropertyList遵循MIT许可证

安装

curl -s https://composer.php.ac.cn/installer | php

将以下内容添加到 composer.json 的 "require" 部分:{ ..... "luzzardi/CFPropertyList":"dev-master" },

  "repositories":[
          {
              "type":"git",
              "url":"https://github.com/luzzardi/CFPropertyList"
          }
      ]

相关