Skip to content

A Small PHP Client package for working with KiotViet API

License

Notifications You must be signed in to change notification settings

vienthuong/kiotviet

Repository files navigation

KiotViet Client

Latest Version on Packagist Software License Total Downloads

A Small PHP Client package for working with KiotViet API

Install

Via Composer

$ composer require vienthuong/kiot-viet-client

Usage

$client = new VienThuong\KiotVietClient(<YOUR_CLIENT_ID>, <YOUR_CLIENT_SECRET>);
// Fetch access token
$token = $client->fetchAccessToken();

// Fetch list product

$productResource = new ProductResource($client);
$productList = $productResource->list();

Check more in Examples directory, remember to change your credentials in auth.php

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Feel free to create a new merge request into this repository.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A Small PHP Client package for working with KiotViet API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages