Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcfedr/plist
A php library for reading and writing plist files
https://github.com/mcfedr/plist
Last synced: 2 months ago
JSON representation
A php library for reading and writing plist files
- Host: GitHub
- URL: https://github.com/mcfedr/plist
- Owner: mcfedr
- License: mit
- Created: 2017-11-07T14:34:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T13:09:15.000Z (about 2 years ago)
- Last Synced: 2024-10-11T13:13:23.341Z (3 months ago)
- Language: PHP
- Size: 113 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plist
A simple php library for reading and writing plist files in xml format
[![Latest Stable Version](https://poser.pugx.org/mcfedr/plist/v/stable.png)](https://packagist.org/packages/mcfedr/plist)
[![License](https://poser.pugx.org/mcfedr/plist/license.png)](https://packagist.org/packages/mcfedr/plist)
[![Build Status](https://travis-ci.org/mcfedr/plist.svg?branch=master)](https://travis-ci.org/mcfedr/plist)
[![codecov](https://codecov.io/gh/mcfedr/plist/branch/master/graph/badge.svg)](https://codecov.io/gh/mcfedr/plist)- Handling 'invalid' xml characters (such as received from MDM)
- Should handle larger files## Install
```bash
composer require mcfedr/plist
```## Usage
### Reading
```php
$reader = new PlistReader();
$plist = $reader->read($xml);
```### Writing
```php
$plist = new Plist();
$writer = new PlistWriter();
$xml = $writer->write($plist);
```