towoju5/gokada-php

php package for Dellyman rest API.

1.1 2023-09-08 14:25 UTC

This package is auto-updated.

Last update: 2024-04-09 12:29:40 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

The Gokada PHP package is a versatile and developer-friendly toolkit for integrating Gokada's services and features into PHP applications. It streamlines the process of accessing Gokada's ride-sharing and delivery services, allowing developers to create innovative solutions that leverage Gokada's capabilities within their PHP projects.

Installation

You can install the package via composer:

composer require towoju5/gokada-php

Live mode

$gokada = new GoKada($apiKey);

Sandbox mode

$gokada = new GoKada($apiKey, true);

Usage

$resul = $gokada->orderStatus("HSSRD-745143");
$resul = $gokada->orderCancel("HSSRD-745143");
$resul = $gokada->orderHistory("HSSRD-745143");
$resul = $gokada->createOrder($createOrder);
$resul = $gokada->estimate($createOrder);

License

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

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate by Beyond Code.