PHPackages                             phucct/magento2-order-api - 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. phucct/magento2-order-api

ActiveMagento2-module[API Development](/categories/api)

phucct/magento2-order-api
=========================

Event call API when order successfully

292PHP

Since May 29Pushed 8y ago3 watchersCompare

[ Source](https://github.com/gonxhunter/magento2-order-api)[ Packagist](https://packagist.org/packages/phucct/magento2-order-api)[ RSS](/packages/phucct-magento2-order-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

magento2-order-api
==================

[](#magento2-order-api)

Description
-----------

[](#description)

Integrate Magento 2 with a logistics system

1. Orders When order placed, create event on sales\_order\_place\_after

    - On this observer get order information
    - Create function to generate data to xml
    - Send request to Logistic System
    - Get response return magento from logistics system
2. Order Status When order shipped, create event on sales\_order\_shipment\_save\_after

    - On this observer get order and shipment information
    - Create function to generate data to xml
    - Send request to Logistic System
    - Get response return magento from logistics system

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

[](#installation)

```
# You must be in Magento root directory
composer require phucct/magento2-order-api:dev-master
php bin/magento cache:clean
php bin/magento setup:upgrade
# Execute setup:di:compile only if the store is in production mode
php bin/magento setup:di:compile
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4371251?v=4)[phucct](/maintainers/phucct)[@Phucct](https://github.com/Phucct)

---

Top Contributors

[![chutienphuc](https://avatars.githubusercontent.com/u/57705683?v=4)](https://github.com/chutienphuc "chutienphuc (1 commits)")[![gonxhunter](https://avatars.githubusercontent.com/u/16775558?v=4)](https://github.com/gonxhunter "gonxhunter (1 commits)")

### Embed Badge

![Health badge](/badges/phucct-magento2-order-api/health.svg)

```
[![Health](https://phpackages.com/badges/phucct-magento2-order-api/health.svg)](https://phpackages.com/packages/phucct-magento2-order-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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