dashamail / haskimail-php
The officially supported PHP client for Haski (https://haskimail.ru)
v1.0.2
2026-02-23 18:28 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ^6.0|^7.0
Requires (Dev)
- phpunit/phpunit: ^6.0.0
README
Haskimail-PHP is the officially supported PHP library for Haskimail. With Haskimail, you can send and receive emails effortlessly.Requirements
PHP >=7.0.0 Guzzle HTTP clientGetting Started
// Sending email with Haskimail-PHP library
// Learn more -> https://haskimail.ru/developer/integration/official-libraries#php
// Install with composer
composer require dashamail/haskimail-php
// Import
use Haskimail\HaskimailClient;
// Example request
$client = new HaskimailClient("server token");
$sendResult = $client->sendEmail(
"отправитель@example.com",
"получатель@example.com",
"Привет от Хаски!",
"Это просто дружеский привет от пользователя Хаски!"
);