PHPackages                             deegitalbe/laravel-trustup-io-messaging-webhooks-listeners - 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. deegitalbe/laravel-trustup-io-messaging-webhooks-listeners

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

deegitalbe/laravel-trustup-io-messaging-webhooks-listeners
==========================================================

Our package used to listen to messaging webhooks

v2.0.0(4mo ago)01.9k↓63.9%1MITPHPCI passing

Since Feb 10Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/deegitalbe/laravel-trustup-io-messaging-webhooks-listeners)[ Packagist](https://packagist.org/packages/deegitalbe/laravel-trustup-io-messaging-webhooks-listeners)[ RSS](/packages/deegitalbe-laravel-trustup-io-messaging-webhooks-listeners/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (7)Used By (0)

laravel-trustup-io-messaging-webhooks-listeners
===============================================

[](#laravel-trustup-io-messaging-webhooks-listeners)

Compatibility
-------------

[](#compatibility)

LaravelPackage8.x / 9.x1.x12.x2.xPrerequisite
------------

[](#prerequisite)

This package uses `deegitalbe/server-authorization` package to authenticate requests. Refer to its [documentation](https://github.com/deegitalbe/server-authorization) to make sure it's correctly configured on your project.

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

[](#installation)

```
composer require deegitalbe/laravel-trustup-io-messaging-webhooks-listeners
```

Publish configuration
---------------------

[](#publish-configuration)

```
php artisan vendor:publish --provider="Deegitalbe\LaravelTrustupIoMessagingWebhooksListeners\Providers\LaravelTrustupIoMessagingWebhooksListenersServiceProvider" --tag="config"
```

Available listeners
-------------------

[](#available-listeners)

### Message created

[](#message-created)

Define your listener

```
use Deegitalbe\LaravelTrustupIoMessagingWebhooksListeners\Contracts\Listeners\Messages\TrustupIoMessagingMessageCreatedListenerContract;

class MessageCreatedListener implements TrustupIoMessagingMessageCreatedListenerContract
{
    public function onMessageCreated(array $webhookData): void
    {

    }
}
```

Register your listener in config

```
    /**
     * Messaging microservice listeners.
     */
    "listeners" => [
        /**
         * Message related listeners.
         */
        "messages" =>  [
            /**
             *  Message created listener.
             *
             * @implements \Deegitalbe\LaravelTrustupIoMessagingWebhooksListeners\Contracts\Listeners\Messages\TrustupIoMessagingMessageCreatedListenerContract
             */
            "created" => MessageCreatedListener::class
        ]
    ]
```

Webhook data structure

```
{
    "message": {
    "id": 4339,
    "type": "text",
    "text": "The order of the message is not really good",
    "status": null,
    "user_id": 38943,
    "conversation_id": 2767,
    "conversation": {
        "id": 2767,
        "app_name": "trustup-io-ticketing",
        "type": "conversation",
        "title": "null",
        "model": "ticket",
        "model_id": "840942e5-b63e-4ab5-8f72-079e7a35be0e",
        "user_id": 38943,
        "meta": null,
        "deleted_at": null,
        "created_at": "2023-02-23T15:59:08.000000Z",
        "updated_at": "2023-02-23T15:59:08.000000Z"
    },
    "seen_by": [],
    "deleted_at": null,
    "created_at": "2023-02-24T14:54:37.000000Z",
    "updated_at": "2023-02-24T14:54:37.000000Z"
    }
}
```

Listener configuration
----------------------

[](#listener-configuration)

Add any of those interfaces to your listener to customize it.

### Limit to your current app only

[](#limit-to-your-current-app-only)

```
use Deegitalbe\LaravelTrustupIoMessagingWebhooksListeners\Contracts\Listeners\Config\ListenToCorrespondingAppKey;

class MessageCreatedListener implements ListenToCorrespondingAppKey
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance76

Regular maintenance activity

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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 ~222 days

Recently: every ~274 days

Total

6

Last Release

131d ago

Major Versions

v1.1.3 → v2.0.02026-02-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24230736?v=4)[Mathieu Henrotay](/maintainers/henrotaym)[@henrotaym](https://github.com/henrotaym)

---

Top Contributors

[![henrotaym](https://avatars.githubusercontent.com/u/24230736?v=4)](https://github.com/henrotaym "henrotaym (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/deegitalbe-laravel-trustup-io-messaging-webhooks-listeners/health.svg)

```
[![Health](https://phpackages.com/badges/deegitalbe-laravel-trustup-io-messaging-webhooks-listeners/health.svg)](https://phpackages.com/packages/deegitalbe-laravel-trustup-io-messaging-webhooks-listeners)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M7.0k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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