Download the PHP package sbwerewolf/xml-navigator without Composer

On this page you can find all versions of the php package sbwerewolf/xml-navigator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package xml-navigator

XmlExtractKit

Packagist Version Packagist Downloads PHP 8.4+ Static Analysis Test Coverage

XmlExtractKit for PHP: Stream large XML, extract only what matters, and get plain PHP arrays.

Installation

For local test and coverage dependencies on a standard PHP 8.4 setup, see tests/ENVIRONMENT.md.

Why this package?

XmlExtractKit is built for the boring XML jobs that show up in real systems:

Use it for feeds, partner exports, imports, SOAP-ish payloads, marketplace catalogs, ETL pipelines, and other legacy XML integrations.

Core workflow

Open large XML with XMLReader, select matching nodes, receive plain PHP arrays.

Output:

Index

Working examples

Turn XML into arrays with custom keys

Use XmlConverter when your project already has its own internal array contract and you want hierarchy output with your own key names.

Output:

Extract only the needed elements from large XML without loading the whole document

Use FastXmlParser on top of XMLReader when the file is large and only some nodes matter.

Convert XML to a traversable array and walk it with XmlElement

Use FastXmlToArray::convert() when you want a stable normalized structure, then wrap it with XmlElement for convenient traversal.

Output:

Practical notes

Detailed documentation

The detailed method-by-method documentation stays available in dedicated files:

Standalone runnable snippets are also included in examples/.

Common use cases

What it is not

XmlExtractKit is not trying to be:

The value proposition is much simpler:

stream XML, extract only what matters, and keep working with plain arrays.

Pick your entry point

Need Start here
I need plain arrays from XML now FastXmlToArray::prettyPrint()
I need a stable normalized structure for traversal FastXmlToArray::convert()
I need to stream only matching elements from large XML FastXmlParser::extractPrettyPrint()
I need streaming plus normalized output FastXmlParser::extractHierarchy()
I need custom key names XmlConverter or XmlParser
I need low-level composition around an existing cursor PrettyPrintComposer or HierarchyComposer

Contacts


All versions of xml-navigator with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-xmlreader Version *
ext-libxml Version *
sbwerewolf/json-serialize-trait Version ^1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sbwerewolf/xml-navigator contains the following files

Loading the files please wait ...