PHPackages                             ck/picaxmlconv - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ck/picaxmlconv

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ck/picaxmlconv
==============

Converts picaXML and ppmxl vive versa.

v0.1.2(10y ago)116MITPHP

Since Feb 15Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Zeitschriftendatenbank/picaxmlconv)[ Packagist](https://packagist.org/packages/ck/picaxmlconv)[ RSS](/packages/ck-picaxmlconv/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Pica+ XML Converter
===================

[](#pica-xml-converter)

Converts PicaXML (namespace info:srw/schema/5/picaXML-v1.0) and ppxml (namespace ) vice versa.

Installation
------------

[](#installation)

```
composer require ck/picaxmlconv

```

Usage
-----

[](#usage)

```
require vendor/autoload.php;

use CK\PicaXMLConv\PicaXMLConv;

$pconv = new PicaXMLConv;

$picaXML = $pconv->convert('/path/to/ppxml.xml');

print $picaXML;                                  # XML
print get_class($picaXML->getSource());          # DOMDocument

if($pconv->validate($picaXML)) {
    print $pconv->getNamespace();                # info:srw/schema/5/picaXML-v1.0
    $pconv->convert();
    $pconv->validate($pconv->getTarget());
    print $pconv->getNamespace();                # http://www.oclcpica.org/xmlns/ppxml-1.0
}
```

### Usage with HAB\\Pica\\Reader\\PicaXmlReader

[](#usage-with-habpicareaderpicaxmlreader)

```
composer require ck/picaxmlconv hab/picareader

```

```
require vendor/autoload.php;

use CK\PicaXMLConv\PicaXMLConv;
use HAB\Pica\Reader\PicaXmlReader;

$pconv = new PicaXMLConv;
$picaXML = $pconv->convert('/path/to/ppxml.xml');

$reader = new PicaXmlReader;
$reader->open($picaXML);
while($record = $reader->read()) {
    ...
}
$reader->close();
```

API
---

[](#api)

For `CK\PicaXMLConv::convert` and `CK\PicaXMLConv::validate` string is either XML or a valid file path.

- CK\\PicaXMLConv::convert(string|DOMDocument)
- CK\\PicaXMLConv::validate(string|DOMDocument)
- CK\\PicaXMLConv::getSource()
- CK\\PicaXMLConv::getTarget()
- CK\\PicaXMLConv::getNamespace()

Resources
---------

[](#resources)

### XSL

[](#xsl)

- [ppxml to picaXML](https://raw.githubusercontent.com/Zeitschriftendatenbank/picaxmlconv/master/res/xsl/ppxmlToPicaXML.xsl)
- [picaXML to ppxml](https://raw.githubusercontent.com/Zeitschriftendatenbank/picaxmlconv/master/res/xsl/picaXMLToPpxml.xsl)

### XSD

[](#xsd)

- [ppxml-1.0.xsd](https://raw.githubusercontent.com/Zeitschriftendatenbank/picaxmlconv/master/res/xsd/ppxml-1.0.xsd)
- [pica-xml-v1-0.xsd](https://raw.githubusercontent.com/Zeitschriftendatenbank/picaxmlconv/master/res/xsd/pica-xml-v1-0.xsd)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3788d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23064ee47ef1ea033e3068dc2e1bafb1f1a07c3ddfc3a060010145ba90bc95ed?d=identicon)[collidoscope](/maintainers/collidoscope)

---

Top Contributors

[![cKlee](https://avatars.githubusercontent.com/u/849235?v=4)](https://github.com/cKlee "cKlee (5 commits)")

### Embed Badge

![Health badge](/badges/ck-picaxmlconv/health.svg)

```
[![Health](https://phpackages.com/badges/ck-picaxmlconv/health.svg)](https://phpackages.com/packages/ck-picaxmlconv)
```

###  Alternatives

[sabre/xml

sabre/xml is an XML library that you may not hate.

52933.7M139](/packages/sabre-xml)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1482.0M11](/packages/scotteh-php-dom-wrapper)[sibyx/phpgpx

A simple PHP library for GPX import/export

1681.2M5](/packages/sibyx-phpgpx)[vipnytt/sitemapparser

XML Sitemap parser class compliant with the Sitemaps.org protocol.

792.3M10](/packages/vipnytt-sitemapparser)[dkrnl/simplexmlreader

Wrapper XMLReader class, for simple SAX-reading(and simple XPath-queries) of huge(testing over 1G file) xml.

112953.0k](/packages/dkrnl-simplexmlreader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
