PHPackages                             waland/waland - 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. waland/waland

ActiveLibrary[API Development](/categories/api)

waland/waland
=============

Official PHP SDK for the Waland WhatsApp API

00Rust

Since May 31Pushed 1mo agoCompare

[ Source](https://github.com/graphland-dev/waland-sdks)[ Packagist](https://packagist.org/packages/waland/waland)[ RSS](/packages/waland-waland/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (5)Used By (0)

Waland SDK
==========

[](#waland-sdk)

Official client libraries for the [Waland WhatsApp API](https://api.waland.dev).

Packages
--------

[](#packages)

LanguagePackagePathNode.js`waland`[`packages/node`](./packages/node)PHP`waland/waland`[`packages/php`](./packages/php)Go`github.com/graphland-dev/waland-sdks/packages/go`[`packages/go`](./packages/go)Rust`waland`[`packages/rust`](./packages/rust)Credentials
-----------

[](#credentials)

Open the [merchant console](https://console.waland.dev/merchant):

- **API key** — create or copy your organization API key (`waland_...`).
- **Session ID** — go to **WhatsApp accounts**, connect your number by scanning the **QR code**, then copy the session ID for that connected account.

Node.js
-------

[](#nodejs)

```
npm install waland
```

```
import { WalandClient } from "waland";

const client = new WalandClient(
  process.env.WALAND_API_KEY!,
  process.env.WALAND_SESSION_ID!,
);

await client.sendMessage({
  chatId: "8801712345678@s.whatsapp.net",
  text: "Hello from Waland",
});
```

PHP
---

[](#php)

```
composer require waland/waland
```

```
use Waland\WalandClient;

$client = new WalandClient(
    getenv('WALAND_API_KEY'),
    getenv('WALAND_SESSION_ID'),
);

$client->sendMessage([
    'chatId' => '8801712345678@s.whatsapp.net',
    'text' => 'Hello from Waland',
]);
```

Go
--

[](#go)

```
go get github.com/graphland-dev/waland-sdks/packages/go
```

```
client, _ := waland.NewClient(
    os.Getenv("WALAND_API_KEY"),
    os.Getenv("WALAND_SESSION_ID"),
    nil,
)

client.SendMessage(context.Background(), waland.SendMessageParams{
    ChatID: "8801712345678@s.whatsapp.net",
    Text:   "Hello from Waland",
})
```

Rust
----

[](#rust)

```
cargo add waland
```

```
use waland::{SendMessageParams, WalandClient};

#[tokio::main]
async fn main() {
    let client = WalandClient::new(
        std::env::var("WALAND_API_KEY").unwrap(),
        std::env::var("WALAND_SESSION_ID").unwrap(),
        None,
    ).unwrap();

    let _ = client.send_message(SendMessageParams {
        chat_id: "8801712345678@s.whatsapp.net".to_string(),
        text: Some("Hello from Waland".to_string()),
        media_url: None,
        media_filename: None,
    }).await;
}
```

See [`packages/node/README.md`](./packages/node/README.md), [`packages/php/README.md`](./packages/php/README.md), [`packages/go/README.md`](./packages/go/README.md), and [`packages/rust/README.md`](./packages/rust/README.md) for full API docs.

### PHP development (monorepo)

[](#php-development-monorepo)

Root [`composer.json`](./composer.json) is what Packagist indexes. [`packages/php/composer.json`](./packages/php/composer.json) is a copy for working in that directory only.

```
composer install   # repo root
composer test
```

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance59

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7611746?v=4)[Md Raihan](/maintainers/kingRayhan)[@kingRayhan](https://github.com/kingRayhan)

---

Top Contributors

[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (7 commits)")[![kingRayhan](https://avatars.githubusercontent.com/u/7611746?v=4)](https://github.com/kingRayhan "kingRayhan (7 commits)")

### Embed Badge

![Health badge](/badges/waland-waland/health.svg)

```
[![Health](https://phpackages.com/badges/waland-waland/health.svg)](https://phpackages.com/packages/waland-waland)
```

###  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.0k18](/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)
