PHPackages                             marvtr/quicksilver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. marvtr/quicksilver

ActivePackage[Mail &amp; Notifications](/categories/mail)

marvtr/quicksilver
==================

ontavio email service

v1.0.2(3y ago)213MITPHPPHP ^7.2

Since Sep 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/MarvTr/quicksilver)[ Packagist](https://packagist.org/packages/marvtr/quicksilver)[ Docs](https://ontavio.de)[ RSS](/packages/marvtr-quicksilver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Quicksilver
===========

[](#quicksilver)

Documentation for ontavio mail service connector

---

**TODO** and planned Features:

---

Set up connector
----------------

[](#set-up-connector)

1. create JWT token for project

    - use loginAsUser() function or get JWT manually
2. create new Connector() with

    - $endpoint -&gt; your database url
    - $auth -&gt; your JWT token used to verify user
    - additional [parameters](#constructor-parameters) can be specified
3. use the functions under [functions](#functions) for CRUD actions

    - for edgecases use executeQuery() function to use your own queries

Create connector object
-----------------------

[](#create-connector-object)

### Constructor parameters

[](#constructor-parameters)

- $endpoint

    - set endpoint to connect to as string.
- $auth

    - insert JWT used to connect to endpoint.
- $unSpamSubject

    - enable "subject" field formatting to make Email less likely to be marked as spam.
- $generateTextFromHTML

    - fill "text" field with content from "html" field.

### Functions

[](#functions)

**NOTE:** if a function finished successfully it returns data, on failure it returns null

- setEndpoint(string $newEndpoint)

    - override endpoint string
- setAuth(string $newAuth)

    - override JWT authorization string
- loginAsUser(string $endpoint, string $user, string $password)

    - returns JWT token when giving valid endpoint, user and password
    - *ONLY use this to create initial JWT and save it*
- executeQuery(string $endpoint, string $query, string $auth)

    - submits query to endpoint using auth
    - returns query result
- removeAllHtml($text, array $replaceProjectSpecific)

    - removes all html tags and additional strings in array
- create(Email $email)

    - sends email to specified endpoint
    - returns the created email id
- read(string $emailEId)

    - returns email based on $emailEId
- readStatus(string $emailEId)

    - returns "sent", "rejected" and "status" fields
- getEmailId(string $emailEId)

    - returns emailId by searching email*E*Id
    - mainly used for specific queries
- update(Email $email)

    - updates whole email provided
    - eId identifies email to update
    - returns eId of updated mail on success
- delete(string $emailEId)

    - deletes email based on eId
    - returns eId and id

### Email class

[](#email-class)

Email class contains getters and setters for all parameters

```
Attachment $attachments -> use Attachment Class
bool    $attachDataUrls
array   $bcc
array   $cc
        $delivery //Datetimefomat in DB -> "Y-m-d\TH:i:s.v\Z"
string  $eId
string  $html
string  $htmlTemplate
string  $messageId
        $priority // enum LOW/NORMAL/HIGH
string  $project
string  $replyTo
string  $sender
bool    $single
        $stack
string  $subject
string  $templateData
string  $text
string  $textTemplate
array   $to

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~93 days

Total

2

Last Release

1255d ago

Major Versions

0.0.1 → v1.0.22022-12-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/895e86bc7f18ba31d769592b991d24e40862ac967642327470554fa3399f1f6c?d=identicon)[MarvTr](/maintainers/MarvTr)

---

Top Contributors

[![MarvTr](https://avatars.githubusercontent.com/u/87013285?v=4)](https://github.com/MarvTr "MarvTr (18 commits)")[![sneakyx](https://avatars.githubusercontent.com/u/20614860?v=4)](https://github.com/sneakyx "sneakyx (4 commits)")

---

Tags

emailservicespooler

### Embed Badge

![Health badge](/badges/marvtr-quicksilver/health.svg)

```
[![Health](https://phpackages.com/badges/marvtr-quicksilver/health.svg)](https://phpackages.com/packages/marvtr-quicksilver)
```

###  Alternatives

[egulias/email-validator

A library for validating emails against several RFCs

11.6k691.3M307](/packages/egulias-email-validator)[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.5k47.5M164](/packages/sendgrid-sendgrid)[pelago/emogrifier

Converts CSS styles into inline style attributes in your HTML code

94944.1M110](/packages/pelago-emogrifier)[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48419.5M75](/packages/soundasleep-html2text)[kickbox/kickbox

Official kickbox API library client for PHP

591.0M4](/packages/kickbox-kickbox)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
