PHPackages                             elasticemail/elasticemail-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. elasticemail/elasticemail-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

elasticemail/elasticemail-php
=============================

The PHP library for the Elastic Email REST API. This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. To start using this API, you will need your Access Token. Remember to keep it safe.

4.0.28(1mo ago)15114.7k↓15.7%12[1 issues](https://github.com/ElasticEmail/elasticemail-php/issues)[1 PRs](https://github.com/ElasticEmail/elasticemail-php/pulls)2unlicensePHPPHP ^7.3 || ^8.0

Since May 30Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/ElasticEmail/elasticemail-php)[ Packagist](https://packagist.org/packages/elasticemail/elasticemail-php)[ Docs](https://elasticemail.com)[ RSS](/packages/elasticemail-elasticemail-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (12)Versions (11)Used By (2)

ElasticEmail
============

[](#elasticemail)

This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach.

Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used.

The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request.

To start using this API, you will need your Access Token (available [here](https://app.elasticemail.com/marketing/settings/new/manage-api)). Remember to keep it safe. Required access levels are listed in the given request’s description.

Downloadable library clients can be found in our Github repository [here](https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme)

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 7.4 and later. Should also work with PHP 8.0.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/elasticemail/elasticemail-php.git"
    }
  ],
  "require": {
    "elasticemail/elasticemail-php": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
