PHPackages                             peternijssen/ses-configuration - 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. peternijssen/ses-configuration

AbandonedArchivedLibrary

peternijssen/ses-configuration
==============================

Package to manage SES configuration. It does not send actual emails!

1.0.0(10y ago)016MITPHPPHP &gt;=5.5

Since Feb 3Pushed 10y agoCompare

[ Source](https://github.com/peternijssen/ses-configuration)[ Packagist](https://packagist.org/packages/peternijssen/ses-configuration)[ RSS](/packages/peternijssen-ses-configuration/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

SES Configuration
=================

[](#ses-configuration)

[![Author](https://camo.githubusercontent.com/cb2389eb4aadbe5e4faf880d02a53ba93badb80cbfc7317feda892d182219373/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4070746e696a7373656e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/ptnijssen)[![Build Status](https://camo.githubusercontent.com/dba5a49a40e4636af1081560a9b93c35dc290666b52811f84d0a453fa7c4d152/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70657465726e696a7373656e2f7365732d636f6e66696775726174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/peternijssen/ses-configuration)[![Coverage Status](https://camo.githubusercontent.com/b966682667a9759c3262a46ac6aac0f11002bb2a2b04ace57e0eeb58d559fb3a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f70657465726e696a7373656e2f7365732d636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/peternijssen/ses-configuration/code-structure)[![Quality Score](https://camo.githubusercontent.com/995210cc87d89e3326132337de6caa01124ed81ae7cf50ef1addf16854f9b753/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f70657465726e696a7373656e2f7365732d636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/peternijssen/ses-configuration)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/281df2c7bb2763ee8c3c63aaa607aa4c098f66152435084219cd17512db273e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70657465726e696a7373656e2f7365732d636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/peternijssen/ses-configuration)[![Total Downloads](https://camo.githubusercontent.com/67b0e9b7fbc807ffa9c8225a66a7ac703727448a3ab1166ee36b32f3eef2181f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70657465726e696a7373656e2f7365732d636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/peternijssen/ses-configuration)

[![SensioLabsInsight](https://camo.githubusercontent.com/b4ac8494ec4e057bdc05cd62c2767781a303fd44d47600c6c53cb0cf20f41ee6/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62626365343530642d613238642d343635392d623763662d3031353364343438343930342f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/bbce450d-a28d-4659-b7cf-0153d4484904)

Package to manage SES configuration. It does not send actual emails!

Install
-------

[](#install)

Using Composer:

```
$ composer require peternijssen/ses-configuration

```

Testing
-------

[](#testing)

To run all unit tests, use the locally installed PHPUnit:

```
$ ./vendor/bin/phpunit

```

Usage
-----

[](#usage)

### AWS SES Client

[](#aws-ses-client)

You have to begin with creating a SesClient

```
$sesClient = new \Aws\Ses\SesClient([
    'region' => 'us-west-2',
    'version' => 'latest',
    'credentials' => [
        'key' => 'key',
        'secret' => 'secret',
    ],
]);

```

**warning: It's not recommended to store your AWS credentials within the application itself. Please make sure your server has access through [policies](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/control-user-access.html).**

### Identities

[](#identities)

First you have to determine you are using an [Email identity or Domain identity](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html). You can then use the appropriate object;

```
$identity = new DomainIdentity("peternijssen.nl");

```

or

```
$identity = new EmailIdentity("peter@peternijssen.nl");

```

### Manager

[](#manager)

Next you have to use the correct manager;

```
$manager = new DomainManager($sesClient, $identity);

```

or

```
$manager = new EmailManager($sesClient, $identity);

```

From here, you can do several requests;

**Create the new identity within SES**

```
$manager->create();

```

**Fetch the status (Pending|Success|Failed|TemporaryFailure|NotStarted)**

```
$manager->fetchStatus();

```

**Fetch the DKIM status (Pending|Success|Failed|TemporaryFailure|NotStarted)**

```
$manager->fetchDkimStatus();

```

**Fetch the DNS changes (Domain only!)**

```
$manager->fetchRecord();

```

**Fetch the DKIM DNS changes**

```
$manager->fetchDkimRecords();

```

**Request to verify the DKIM changes**

```
$manager->verifyDkim();

```

**Request to Enable DKIM**

```
$manager->enableDkim();

```

**Request to Disable DKIM**

```
$manager->disableDkim();

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

3750d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8708b4b776b163a21bc756c7cc5aaf494fc08fb8e15d15634b4b3c6359448db?d=identicon)[peternijssen](/maintainers/peternijssen)

---

Top Contributors

[![peternijssen](https://avatars.githubusercontent.com/u/688048?v=4)](https://github.com/peternijssen "peternijssen (10 commits)")

---

Tags

awsconfigurationses

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/peternijssen-ses-configuration/health.svg)

```
[![Health](https://phpackages.com/badges/peternijssen-ses-configuration/health.svg)](https://phpackages.com/packages/peternijssen-ses-configuration)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3384.1M11](/packages/bref-laravel-bridge)[daniel-zahariev/php-aws-ses

Send emails via Amazon Simple Email Service (SES) with REST-like interface

3111.5M8](/packages/daniel-zahariev-php-aws-ses)[async-aws/ses

SES client, part of the AWS SDK provided by AsyncAws.

4810.6M12](/packages/async-aws-ses)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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