sendmux/sdk

Umbrella package for Sendmux PHP SDK clients.

Maintainers

Package info

github.com/Sendmux/sendmux-php-sdk

pkg:composer/sendmux/sdk

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-06-01 10:17 UTC

This package is auto-updated.

Last update: 2026-06-18 11:31:14 UTC


README

Packagist version PHP version License

Umbrella package for Sendmux PHP SDK clients.

Read the PHP SDK guide at sendmux.ai/docs/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.