Skip to content

locnumber1/sagawa

Repository files navigation

Sagawa module

A project for Sagawa Api.

Step by step use this package:

1. Install composer

You can use Composer to install and manage this package easily.

2. Install package:

Use composer to install this package:

composer require sagawa/sagawa

3. How to use this package:

  • If you don't use framework.You need add first:
require_once __DIR__ . '/vendor/autoload.php';
use oro\Sagawa\Sagawa;
$sagawa = new Sagawa($Username,$Password,$RequestData);
  • If you don't use framework. You just include this and use:
use oro\Sagawa\Sagawa;
$sagawa = new Sagawa($Username,$Password,$RequestData);

Note:

  • $Username is username from Sagawa.
  • $Password is password from Sagawa.
  • $RequestData is data format from Sagawa

4. Methods in package:

  • Create order:
$sagawainfo = $sagawa->receive_order();
  • Tracking order:
$sagawainfo = $sagawa->tracking_order();
  • Fee order:
$sagawainfo = $sagawa->fee();

About

A project for Sagawa Api,

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages