承接 omdaa/omdaa-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

omdaa/omdaa-php

Composer 安装命令:

composer require omdaa/omdaa-php

包简介

Official PHP client for Omdaa WhatsApp Business API

README 文档

README

Official PHP client for the Omdaa WhatsApp Business API. Omdaa API is free forever — unlimited sessions, messages, and Omdaa AI.

Installation

composer require omdaa/omdaa-php

Quick Start

<?php

require __DIR__ . '/vendor/autoload.php';

use Omdaa\Api\OmdaaClient;
use Omdaa\Api\OmdaaException;

$client = new OmdaaClient('your-api-key');
// Optional: new OmdaaClient('your-api-key', 'https://omdaa.com/api/v1');

try {
    // List sessions
    $sessions = $client->sessions()->list();

    // Send a text message
    $result = $client->messages()->sendText([
        'sessionId' => 'default',
        'to' => '201234567890',
        'message' => 'Hello from Omdaa PHP!',
    ]);

    // Webhooks
    $client->webhooks()->set(['url' => 'https://yoursite.com/webhook', 'enabled' => true]);
} catch (OmdaaException $e) {
    echo $e->getStatusCode() . ': ' . $e->getMessage();
}

API Resources

All resources match the JavaScript SDK: messages(), sessions(), webhooks(), templates(), scheduled(), bulk(), contacts(), groups(), chats(), business(), storage(), labels(), integrations(), queue(), interactive(), apiKeys(), profile(), dashboard(), plans(), billing(), referral(), notifications(), metrics(), backup(), security(), audit(), organizations(), settings(), channels(), privacy(), support(), proxy(), calls(), auth(), users(), email(), ai().

Requirements

  • PHP 8.1+
  • GuzzleHTTP 7.8+

Development & tests

composer install
vendor/bin/phpunit

License

Apache-2.0

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-07-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固