mcfedr / plist
A library for dealing with plists
Installs: 19 239
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: >=8.0
- ext-mbstring: *
- ext-xml: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.12
- phpbench/phpbench: ^1.2
- phpunit/phpunit: ^9.5
- rodneyrehm/plist: ^2.0
README
A simple php library for reading and writing plist files in xml format
- Handling 'invalid' xml characters (such as received from MDM)
- Should handle larger files
Install
composer require mcfedr/plist
Usage
Reading
$reader = new PlistReader(); $plist = $reader->read($xml);
Writing
$plist = new Plist(); $writer = new PlistWriter(); $xml = $writer->write($plist);