PHPackages                             stdmedoth/lalamove-php-sdk - 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. stdmedoth/lalamove-php-sdk

ActiveLibrary[API Development](/categories/api)

stdmedoth/lalamove-php-sdk
==========================

The LalamovePHP-SDK repository is the ideal solution for PHP developers looking to integrate Lalamove's on-demand delivery functionality into their applications.

1.0.0(3y ago)0121GPL-2.0-or-laterPHP

Since Feb 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/stdmedoth/lalamove-php-sdk)[ Packagist](https://packagist.org/packages/stdmedoth/lalamove-php-sdk)[ RSS](/packages/stdmedoth-lalamove-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

LalamovePHP-SDK
===============

[](#lalamovephp-sdk)

The LalamovePHP-SDK is a PHP library that provides an easy-to-use interface for developers to connect to Lalamove's on-demand delivery service. With this SDK, developers can authenticate, create quotations, create orders, and retrieve order details.

Authentication
==============

[](#authentication)

To use the LalamovePHP-SDK, you must first authenticate with Lalamove's API. You can obtain your API credentials from the Lalamove developer portal. Once you have your credentials, you can create an instance of the SDK and set your API key, API secret, market, and environment:

```
require_once 'vendor/autoload.php';

use stdmedoth\LalamovePhpSdk;

$api_key = 'YOUR_API_KEY';
$api_secret = 'YOUR_API_SECRET';
$market = 'YOUR_MARKET'; // e.g. 'SG'
$environment = 'YOUR_ENVIRONMENT'; // either 'product' or 'sandbox'

$lalamove = new LalamovePhpSdk($api_key, $api_secret, $market, $environment);

```

Creating a Quotation
====================

[](#creating-a-quotation)

To create a quotation, you need to provide the following information:

- serviceType: Type of service. This parameter is required and can be obtained from the services endpoint.
- stops: An array of stops objects containing pickup and dropoff information, including the location coordinates (latitude and longitude) and the address of each stop.
- language: Language used to return the quotation. This parameter is optional and can be set to en\_US by default.
- item: An object containing information about the item being delivered, including quantity, weight, categories, and handling instructions. This parameter is optional.

> Here's an example code snippet to create a quotation:

```
$serviceType = $possible_service->key;
$stops = [(object)[
    'coordinates' => (object)[
        'lat' => "-23.6008754",
        'lng' => "-46.6521289"
    ],
    'address' => 'Alameda Anapurus'
], (object)[
    'coordinates' => (object)[
        'lat' => "$location->lat",
        'lng' => "$location->lng",
    ],
    'address' => $package['destination']['address']
]];
$item = (object)[
    "quantity" => "$quantity",
    "weight" => "LESS_THAN_3KG",
    "categories" => ["FOOD_DELIVERY", "OFFICE_ITEM"],
    "handlingInstructions" => ["KEEP_UPRIGHT"]
];
$response = $lalamove_api->quotations($serviceType, $stops, $language, $item);
$quotation = $response->data;

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a45a3e94c4f8f5d799f44b6b0dfde953075fe0e1aac4e3e549559c544e981b?d=identicon)[stdmedoth](/maintainers/stdmedoth)

---

Top Contributors

[![stdmedoth](https://avatars.githubusercontent.com/u/46696171?v=4)](https://github.com/stdmedoth "stdmedoth (7 commits)")

### Embed Badge

![Health badge](/badges/stdmedoth-lalamove-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/stdmedoth-lalamove-php-sdk/health.svg)](https://phpackages.com/packages/stdmedoth-lalamove-php-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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