PHPackages                             craftt/xorder-sdk - 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. [API Development](/categories/api)
4. /
5. craftt/xorder-sdk

ActiveLibrary[API Development](/categories/api)

craftt/xorder-sdk
=================

PHP SDK for Container World's xOrder EDI platform.

v1.1.3(10y ago)015Apache-2.0PHPPHP &gt;=5.5.9

Since Jul 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/craftt/xorder-php-sdk)[ Packagist](https://packagist.org/packages/craftt/xorder-sdk)[ RSS](/packages/craftt-xorder-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (8)Versions (9)Used By (0)

xOrder PHP Library
==================

[](#xorder-php-library)

[![Build Status](https://camo.githubusercontent.com/b6ad1ceda1950402dce1e592dba723659ad17f06052684b2ef857d8b98f15ba1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6372616674742f786f726465722d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/craftt/xorder-php-sdk)[![Quality Score](https://camo.githubusercontent.com/705664e806e86f3093827f9e6b8dceeea411665905106fc853ad30ec56bdf13b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6372616674742f786f726465722d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/craftt/xorder-php-sdk)[![Coverage Status](https://camo.githubusercontent.com/bdd40526fc6ddd255412e3edadf1930afabc469567c74332c47e24d21c6ca90b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6372616674742f786f726465722d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/craftt/xorder-php-sdk/code-structure)[![Latest Version](https://camo.githubusercontent.com/19efc9f442ba96ee4c62c4fae962faa51fe4e90e4acf290198bd59dcb96bc4d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6372616674742f786f726465722d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://github.com/craftt/xorder-php-sdk/releases)[![Software License](https://camo.githubusercontent.com/860b48594df1849d2dd7d560ef31dc2bdcd983c0f3ad882e1f55e73c3d922d91/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d415041434845322d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

The xOrder PHP SDK makes it easy to integrate your order and inventory sytsems with [ContainerWorld's](http://containerworld.com) [xOrder](http://xorder.ca) EDI service. It leverages the powerful [Guzzle](https://github.com/guzzle/guzzle) library to make http requests.

Usage
-----

[](#usage)

Examples of how the xOrder PHP SDK can be used are located in the examples directory.

```
$xorder = new XOrder\XOrder('xorder.xml', true);
$credentials = new XOrder\Credentials('username', 'password', 'account');

$client = new XOrder\Client;
$client->login($credentials);

$response = $client->send($xorder);
```

Order Validation
----------------

[](#order-validation)

The xOrder PHP SDK can also be used to validate your order xml against the [xOrder schema](https://github.com/craftt/xorder-php-sdk/blob/master/src/Schema/XOrderSchema.xsd) declaration.

```
$xorder = new XOrder\XOrder('xorder.xml', true);

$validator = new XOrder\XOrderValidator($xorder);

$isValid = $validator->validate();
```

Testing
-------

[](#testing)

The xOrder PHP SDK has a [PHPUnit](https://phpunit.de/) test suite. To run the tests, run the following command from the project folder:

```
$ phpunit
```

Contributing
------------

[](#contributing)

Contributions are welcome and will be fully credited. Please see [CONTRIBUTING](https://github.com/craftt/xorder-php-sdk/blob/master/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

Apache 2.0. Please see [LICENSE](https://github.com/craftt/xorder-php-sdk/blob/master/LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~2 days

Total

7

Last Release

4000d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/176991?v=4)[Ryan Stratton](/maintainers/stratton)[@stratton](https://github.com/stratton)

---

Top Contributors

[![stratton](https://avatars.githubusercontent.com/u/176991?v=4)](https://github.com/stratton "stratton (66 commits)")

---

Tags

edixordercontainer world

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/craftt-xorder-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/craftt-xorder-sdk/health.svg)](https://phpackages.com/packages/craftt-xorder-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M160](/packages/algolia-algoliasearch-client-php)[google/auth

Google Auth Library for PHP

1.4k294.2M220](/packages/google-auth)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)

PHPackages © 2026

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