PHPackages                             henrotaym/laravel-trustup-messaging-io - 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. henrotaym/laravel-trustup-messaging-io

ActiveLibrary

henrotaym/laravel-trustup-messaging-io
======================================

Basic versioned php package.

v2.0.1(2mo ago)02.3kMITPHPCI passing

Since Sep 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/henrotaymcorp/laravel-trustup-messaging-io)[ Packagist](https://packagist.org/packages/henrotaym/laravel-trustup-messaging-io)[ RSS](/packages/henrotaym-laravel-trustup-messaging-io/feed)WikiDiscussions main Synced 1mo ago

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

laravel-trustup-messaging-io
============================

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

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

[](#compatibility)

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

[](#installation)

```
composer require henrotaym/laravel-trustup-messaging-io
```

### .env configuration

[](#env-configuration)

Add these information to your `.env` file.

```
TRUSTUP_MESSAGING_API_URL=
TRUSTUP_MESSAGING_APP_KEY=
```

### Preparing your models morph type (optional).

[](#preparing-your-models-morph-type-optional)

Define your morph types in an `service provider` like `AppServiceProvider` for example.

```
use App\Models\YourModel;
use Illuminate\Support\ServiceProvider;
use Illuminate\Database\Eloquent\Relations\Relation;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        Relation::enforceMorphMap([
            'your-model' => YourModel::class,
        ]);
    }
}
```

### Preparing your models

[](#preparing-your-models)

Your model should look like this

```
use Henrotaym\LaravelTrustupMessagingIo\Contracts\Models\MessagingIoModelContract;
use Henrotaym\LaravelTrustupMessagingIo\Models\Traits\IsMessagingIoModel;
use Illuminate\Database\Eloquent\Model;

class MyModel extends Model implements MessagingIoModelContract
{
    use IsMessagingIoModel;
}
```

### Exposing your model

[](#exposing-your-model)

Your resource exposing your model shoud look like this

```
use Henrotaym\LaravelTrustupMessagingIo\Http\Resources\MessagingIoModel;
use Illuminate\Http\Request;

class MyResource extends MessagingIoModel
{
    protected function getAttributes(Request $request): array
    {
        // Define your attributes here.
    }
}
```

Your resource will automatically have `trustup_io_messaging` key containing values required to use [Vue messaging package](https://github.com/deegitalbe/vuejs-trustup-io-messaging)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance85

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~295 days

Total

9

Last Release

78d ago

Major Versions

v0.0.6 → v1.0.02022-12-21

v1.0.0 → 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 (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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