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

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


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


CFPropertyList is published under the MIT License.


curl -s | php

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