Parser for Apples NSKeyedArchiver plist files

1.0.0 2018-01-11 19:52 UTC

This package is auto-updated.

Last update: 2020-05-23 00:15:17 UTC


Parse Apples NSKeyedArchiver-files

NSKeyedArchive-Files are a kind of plist-file that can be parsed using a plist-file parser.

But the results will not be what you'd expect. This parser can handle such files and will return a plist-file that you can then handle.

It would not have been possible without the awesome work of Sarah Edwards on her blog!


This is best installed using composer

composer require org_heigl/nskeyedarchiverparser


use CFPropertyList\CFPropertyList;
use use Org_Heigl\NSKeyedArchiver\Parser;

$archive = new CFPropertyList('path/to/file.plist');
$parser  = new Parser($archive);

$readableArchive = $parser->parse();

// $readableArchive is an instance of 
// CFPropertyList