org_heigl/nskeyedarchiverparser

Parser for Apples NSKeyedArchiver plist files

1.0.0 2018-01-11 19:52 UTC

This package is auto-updated.

Last update: 2024-03-23 08:52:56 UTC


README

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!

Installation

This is best installed using composer

composer require org_heigl/nskeyedarchiverparser

Usage

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