callumacrae / plist
A plist parser for PHP
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/callumacrae/plist
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2025-09-27 18:48:02 UTC
README
This plist parser simply parses a plist file and returns an array of data found in the file. It is extremely easy to use; the following line of code is an example of how it works:
$array = plist::Parse('path/to/file');
The demo (itunes_demo.php) will parse the iTunes plist file - remember to tell it where it is - and tell you how long you have listened to your music for. DO NOT USE THE DEMO ON A LIVE SERVER. It can use a lot of resources, and is also vulnerable to RFI injection (kind of intentional to keep the script simpler).
It is released under the Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license: http://creativecommons.org/licenses/by-sa/3.0/