Skip to content

PHP Implementation of Apple's PList (binary and xml)

License

Notifications You must be signed in to change notification settings

nickl-/CFPropertyList

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFPropertyList

This is a fork of CFPropertyList by Rodney Rehm, created for the purpose of reorganizing the CFPropertyList classes into PHP 5.3 namespacing, following PSR-0 rules.

PSR-0 Fork by Jarvis Badgley, https://github.com/ChiperSoft/CFPropertyList Original by Rodney Rehm, https://github.com/rodneyrehm/CFPropertyList


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 Google Code

Choose Your Favorite Operating System

CFPropertyList does not rely on any "Apple proprietary" components, like plutil. CFPropertyList runs on any Operating System with PHP and some standard extensions installed.

Although you might want to deliver data to your iPhone application, you might want to run those server side services on your standard Linux (or even Windows) environment, rather than buying an expensive Apple Server. With CFPropertyList you now have the power to provide data from your favorite Operating System.

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

Next to cloning the git repository or downloading an archive, you can now use PEAR thanks to pearhub.

Related

About

PHP Implementation of Apple's PList (binary and xml)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%