Download the PHP package ravisystems/ravimail-php without Composer

On this page you can find all versions of the php package ravisystems/ravimail-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ravimail-php

RaviMail PHP SDK

Packagist Version Packagist Downloads PHP Version

Official PHP client for the RaviMail REST API v1. Zero framework dependencies — only ext-curl + ext-json.

Why this exists. RaviMail is a Brazilian email infrastructure platform with 155 documented REST endpoints. This SDK gives you typed access to all of them, with idiomatic PHP 8.1+ ergonomics and clear exception hierarchy.

Installation

Requirements: PHP 8.1+, ext-curl, ext-json.

Quickstart — Hello World

That's it. The SDK takes care of auth, JSON encoding, error parsing, and timeouts.

Test mode (no billing, no real send)

Any token prefixed with rvm_test_* enables sandbox mode automatically. You can develop end-to-end without spending credits.

Send to the Mailbox Simulator for deterministic scenarios: [email protected], complaint@..., opened@..., etc.

Available resources

All 23 resources mirror the REST API exactly. Most are CRUD; a few have helpers.

Resource What it covers
$rm->me Token info + quotas
$rm->transactional send, batch, list, get
$rm->contacts CRUD + tags + suppress + bulk import
$rm->lists CRUD
$rm->templates CRUD + render + versioning
$rm->campaigns CRUD + start/pause/resume/cancel/duplicate
$rm->domains Add, verify, upgrade-to-panel
$rm->files Upload (attachments)
$rm->webhooks Endpoints + deliveries + rotateSecret + signature verifier
$rm->suppression Suppress / unsuppress
$rm->analytics Summary / timeseries / by domain, IP, node, ISP, device, country / heatmap
$rm->events List + SSE stream URL
$rm->verification Email + batch (DNS + MX + disposable + role detection)
$rm->segments Dynamic segments + compute
$rm->exports Async CSV jobs
$rm->inboundRoutes Inbound parsing → forward webhook
$rm->drips Drip campaigns + steps + subscribe
$rm->subaccounts Multi-tenant (agency mode)
$rm->reputation Score per domain / IP / node + summary
$rm->customFields Custom field schema CRUD
$rm->reports Scheduled reports
$rm->account Billing + balance
$rm->smtpRelay SMTP credentials lifecycle

See examples/ for runnable snippets covering the most common flows.

Idempotency keys

For any write operation you want to retry safely, pass an Idempotency-Key:

The API guarantees that the second call with the same key returns the original response, byte for byte, even days later.

Webhook signature verification (server-side)

Webhooks are HMAC-signed with the per-endpoint signing_secret returned at creation time.

Constant-time comparison via hash_equals internally — no timing leak.

Error handling

All non-2xx responses throw. Catch the most specific exception first.

The base ApiException exposes ->getCode() (HTTP status) and ->getMessage() (server's title — detail if present).

Configuration

Links

License

MIT © Ravi Systems LTDA


All versions of ravimail-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ravisystems/ravimail-php contains the following files

Loading the files please wait ...