sevk/sevk-php

PHP SDK for Sevk API

Maintainers

Package info

github.com/sevk-io/sevk-php

Homepage

pkg:composer/sevk/sevk-php

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-03-22 08:46 UTC

This package is not auto-updated.

Last update: 2026-04-05 09:02:35 UTC


README

Sevk

Sevk PHP SDK

Official PHP SDK for Sevk email platform.

DocumentationWebsite

Installation

composer require sevk/sevk-php

Send Email

<?php

use Sevk\Sevk;

$sevk = new Sevk('your-api-key');

$sevk->emails->send([
    'to' => 'recipient@example.com',
    'from' => 'hello@yourdomain.com',
    'subject' => 'Hello from Sevk!',
    'html' => '<h1>Welcome!</h1>'
]);

Send Email with Markup

<?php

use Sevk\Sevk;
use Sevk\Markup\Renderer;

$sevk = new Sevk('your-api-key');

$html = Renderer::render('
  <section padding="40px 20px" background-color="#f8f9fa">
    <container max-width="600px">
      <heading level="1" color="#1a1a1a">Welcome!</heading>
      <paragraph color="#666666">Thanks for signing up.</paragraph>
      <button href="https://example.com" background-color="#5227FF" color="#ffffff" padding="12px 24px">
        Get Started
      </button>
    </container>
  </section>
');

$sevk->emails->send([
    'to' => 'recipient@example.com',
    'from' => 'hello@yourdomain.com',
    'subject' => 'Welcome!',
    'html' => $html
]);

Documentation

For full documentation, visit docs.sevk.io

License

MIT