定制 sendmux/sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sendmux/sdk

Composer 安装命令:

composer require sendmux/sdk

包简介

Umbrella package for Sendmux PHP SDK clients.

README 文档

README

Packagist version PHP version License

Umbrella package for Sendmux PHP SDK clients.

Read the PHP SDK guide at docs.sendmux.ai/sdks/php.

Requirements

  • PHP 8.2 or newer.
  • Composer.
  • A Sendmux API key for each API surface you call.

Installation

composer require sendmux/sdk:^1.0

Usage

The umbrella package installs the core, sending, mailbox, and management packages together. Create clients through the surface package factories.

<?php

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

use Sendmux\Mailbox\ClientFactory as MailboxFactory;
use Sendmux\Management\ClientFactory as ManagementFactory;
use Sendmux\Sending\ClientFactory as SendingFactory;

$sending = SendingFactory::createEmailsApi(
    getenv('SENDMUX_MAILBOX_API_KEY') ?: ''
);

$mailbox = MailboxFactory::createMailboxAPIApi(
    getenv('SENDMUX_MAILBOX_API_KEY') ?: ''
);

$management = ManagementFactory::createMailboxesApi(
    getenv('SENDMUX_ROOT_API_KEY') ?: ''
);

Note

sendmux/sdk installs all PHP SDK surfaces. It does not replace the surface factories.

Included packages

Package Use it for API key
sendmux/core Shared helpers for auth, headers, retries, pagination, and errors. Any Sendmux API key.
sendmux/sending Sending API client. smx_mbx_
sendmux/mailbox Mailbox API client. smx_mbx_
sendmux/management Management API client. smx_root_

The package also exposes Sendmux\Sdk\Sdk::VERSION for package-version checks.

Support

For help, include the package name, version, API surface, and sanitised request details. Do not include API keys, tokens, passwords, webhook secrets, customer data, or private account details.

License

MIT. See LICENSE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固