luzzardi/cf-property-list

Work with plist (read , write , read binary plist , write binary plist)

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

This package is not auto-updated.

Last update: 2024-12-21 17:06:28 UTC


README

The PHP implementation of Apple's PropertyList can handle XML PropertyLists as well as binary PropertyLists. It offers functionality to easily convert data between worlds, e.g. recalculating timestamps from unix epoch to apple epoch and vice versa. A feature to automagically create (guess) the plist structure from a normal PHP data structure will help you dump your data to plist in no time.

Note: CFPropertylist was originally hosted on GitHub

Requirements And Limitations

  • requires PHP5 (tested with PHP5.2.9 and 5.3.0 on Mac, PHP5.2.1 on Windows)
  • requires either MBString or Iconv
  • requires either BC or GMP or phpseclib (see BigIntegerBug for an explanation) - as of CFPropertyList 1.0.1

License

CFPropertyList is published under the MIT License.

Installation

curl -s http://getcomposer.org/installer | php

Add to composer.json to "require": { ..... "luzzardi/CFPropertyList":"dev-master" },

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

Related