PHPackages                             japseyz/sns-message-validator - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. japseyz/sns-message-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

japseyz/sns-message-validator
=============================

SNS Message Validation

1.0.2(2y ago)030.0k↑69.2%[1 PRs](https://github.com/JapSeyz/sns-message-validator/pulls)MITPHPPHP ^8.2

Since Aug 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JapSeyz/sns-message-validator)[ Packagist](https://packagist.org/packages/japseyz/sns-message-validator)[ Docs](https://github.com/japseyz/sns-message-validator)[ RSS](/packages/japseyz-sns-message-validator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

SNS Message Validation
======================

[](#sns-message-validation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/18f2bc96faf847e8574b769101b462ee86470022e2bb380e5af0ecc8e7e1d8ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a61707365797a2f736e732d6d6573736167652d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/japseyz/sns-message-validator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7afbd2fce4a8ee02db59b5625bb3151edb08cc3619bbad1d68935daf66a3b555/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a61707365797a2f736e732d6d6573736167652d76616c696461746f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/japseyz/sns-message-validator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cc5a8dfc891f1244f0f6a169a3f83b011c1616437b3ac367e77276c213f5d950/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a61707365797a2f736e732d6d6573736167652d76616c696461746f722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/japseyz/sns-message-validator/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d6b55e0f7d7884034b9afe4fa3d7f0b4c39c0ba6e3ceb6ac1b7bd7efbd07805c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a61707365797a2f736e732d6d6573736167652d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/japseyz/sns-message-validator)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/e9578ca495c7734e2b890187e35db0a6db1574513d2d6a74e55763cd8a1c81af/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f736e732d6d6573736167652d76616c696461746f722e6a70673f743d31)](https://spatie.be/github-ad-click/sns-message-validator)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require japseyz/sns-message-validator
```

Usage
-----

[](#usage)

Create a controller to extend SNSWebhookController

```
class MyWebhookController extends SNSWebhookController {
```

Within that class, you may create any SNS notification you want to listen to.

Eg. onDelivery, for SES:

```
protected function onDelivery(array $message, array $originalMessage, Request $request, Collection $headers): void
{
    // Do something with the message
}
```

Possible SES events:

- Bounce
- Complaint
- Delivery
- Send
- Reject
- Open
- Click
- RenderingFailure
- DeliveryDelay
- Subscription

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jesper Jacobsen](https://github.com/JapSeyz)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% 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

1016d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.0.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/33ad5acc22761cefe15f2c62d8d7d1f22b1faea6bd118f8dbc71ee753ff32b92?d=identicon)[JapSeyz](/maintainers/JapSeyz)

---

Top Contributors

[![JapSeyz](https://avatars.githubusercontent.com/u/2234034?v=4)](https://github.com/JapSeyz "JapSeyz (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelJapSeyzsns-message-validator

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/japseyz-sns-message-validator/health.svg)

```
[![Health](https://phpackages.com/badges/japseyz-sns-message-validator/health.svg)](https://phpackages.com/packages/japseyz-sns-message-validator)
```

###  Alternatives

[askedio/laravel5-profanity-filter

A Vendor Package Example

52354.1k](/packages/askedio-laravel5-profanity-filter)[laravel-validation-rules/us-state

Validate US States and Canada Provinces

16172.7k](/packages/laravel-validation-rules-us-state)[pacerit/laravel-polish-validation-rules

Simple Polish Validation rules for Laravel and Lumen framework

1449.9k](/packages/pacerit-laravel-polish-validation-rules)[laravel-validation-rules/ip

Validate if an ip address is public or private.

1629.7k](/packages/laravel-validation-rules-ip)[janvince/smallcontactform

Simple but flexible multi language contact form builder with custom fields, validation and passive antispam

307.4k](/packages/janvince-smallcontactform)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

1312.2k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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