Download the PHP package lalamove/php without Composer

On this page you can find all versions of the php package lalamove/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php

Build Status Coverage Status

Lalamove Unofficial Client Library for PHP

Library Maintenance

This library is an unoffical library for lalamove api. Currently we are fixing all necessary bug and adding essential features to ensure the lirbary continues to meet your needs in accessing the Lalamove APIs. Non-critical issues will be closed. Any issue may be reopened if it is causing ongoing problem.

Requirements

Installation

You can use Composer

Composer

Follow the install instructions if you do not already have composer installed.

Getting Started

Quotation

The following the code we need to make quotation for SG

Sample Response

Place Order

The Response from the quotation is needed for Place order API to lock the price

Sample Response

Getting Order Information

Once an order is placed, you can query the result of the order every 45s, notice there is a rate limit on our system. DO NOT call too frequently.
To get order information

Sample Response

Getting Driver Information

Getting driver information will help your team to know who will come to pick up the order

Sample Response

Cancel Order

Order can only be cancelled before the order is picked up and within 5 mins after the order is matched. Notice that each city is different for the cancellation buffer time, as long as the you are able to receive 200 as http status code, the cancellation is successful

Sample Response but http code be 200 (success) or fail (non 200 response)

How to Submit a bug, issue or feature request

If you wish to submit a bug, issue, or feature request, then you can find the issue here and you can create one here. For bug reporting, make sure you provide the following information

  1. Your PHP version and framework (if any)
  2. Your country and locale
  3. Clear steps to reproduce the bug (mainly header and body and url)
  4. A description of what you expected to happen
  5. A description of what actually happened

Releases

20180126 (v1.0.1)

20170825 (v1.0.0)


All versions of php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
guzzlehttp/guzzle Version ~5.3.1|~6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lalamove/php contains the following files

Loading the files please wait ....