drei-d/laravel-xentral-orders-parser

There is no license information available for the latest version (0.0.5) of this package.

Parses Xentral order xml files

Maintainers

Package info

github.com/DREI-D/laravel-xentral-orders-parser

pkg:composer/drei-d/laravel-xentral-orders-parser

Statistics

Installs: 53

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.5 2026-03-12 13:04 UTC

This package is auto-updated.

Last update: 2026-03-12 13:05:25 UTC


README

Requirements

  • Laravel 11 or higher
  • PHP 8.2 or higher
  • ext-simplexml enabled

Setup

This package is available on Packagist via Composer and can be installed with the following command:

composer require drei-d/laravel-xentral-orders-parser

Usage

Once installed, you can parse a file using the OrderParserService:

$orderDto = app(\DREID\LaravelXentralOrdersParser\Services\OrderParserService::class)->parseFromDisk(
    '<disk>',
    '<filepath>'
);

You can also just parse the xml content without reading it from a file beforehand:

$orderDto = app(\DREID\LaravelXentralOrdersParser\Services\OrderParserService::class)->parse('<xml>');

That's already it. You're good to go.
Enjoy!