Download the PHP package emailit/emailit-php without Composer

On this page you can find all versions of the php package emailit/emailit-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 emailit-php

Emailit PHP

Tests Packagist Version License

The official PHP SDK for the Emailit Email API.

Requirements

Installation

Getting Started

All service methods return typed resource objects (Email, Domain, Contact, etc.) with direct property access -- just like the Stripe SDK.

Available Services

Service Property Description
Emails $emailit->emails() Send, list, get, cancel, retry emails
Domains $emailit->domains() Create, verify, list, manage sending domains
API Keys $emailit->apiKeys() Create, list, manage API keys
Audiences $emailit->audiences() Create, list, manage audiences
Subscribers $emailit->subscribers() Add, list, manage subscribers in audiences
Templates $emailit->templates() Create, list, publish email templates
Suppressions $emailit->suppressions() Create, list, manage suppressed addresses
Email Verifications $emailit->emailVerifications() Verify email addresses
Email Verification Lists $emailit->emailVerificationLists() Create, list, get results, export
Webhooks $emailit->webhooks() Create, list, manage webhooks
Contacts $emailit->contacts() Create, list, manage contacts
Events $emailit->events() List and retrieve events

Usage

Emails

Send an email

Send with a template

Send with attachments

Schedule an email

List emails

Cancel / Retry


Domains


API Keys


Audiences


Subscribers

Subscribers belong to an audience, so the audience ID is always the first argument.


Templates


Suppressions


Email Verifications


Email Verification Lists


Webhooks


Contacts


Events

Webhook Events

The SDK provides typed event classes for all Emailit webhook event types under the Emailit\Events namespace, plus a WebhookSignature class for verifying webhook request signatures.

Verifying Webhook Signatures

You can disable replay protection by passing tolerance: null, or set a custom tolerance in seconds:

Available Event Types

Emails: email.accepted, email.scheduled, email.delivered, email.bounced, email.attempted, email.failed, email.rejected, email.suppressed, email.received, email.complained, email.clicked, email.loaded

Domains: domain.created, domain.updated, domain.deleted

Audiences: audience.created, audience.updated, audience.deleted

Subscribers: subscriber.created, subscriber.updated, subscriber.deleted

Contacts: contact.created, contact.updated, contact.deleted

Templates: template.created, template.updated, template.deleted

Suppressions: suppression.created, suppression.updated, suppression.deleted

Email Verifications: email_verification.created, email_verification.updated, email_verification.deleted

Email Verification Lists: email_verification_list.created, email_verification_list.updated, email_verification_list.deleted

Each event type has a corresponding class under Emailit\Events\ (e.g. Emailit\Events\EmailDelivered, Emailit\Events\DomainCreated). You can use instanceof checks or the EVENT_TYPE constant for routing:

Error Handling

The SDK throws typed exceptions for API errors:

License

MIT — see LICENSE for details.


All versions of emailit-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
guzzlehttp/guzzle Version ^7.5
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 emailit/emailit-php contains the following files

Loading the files please wait ...