PHPackages                             stellarsecurity/notification-laravel - 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. [API Development](/categories/api)
4. /
5. stellarsecurity/notification-laravel

ActiveLibrary[API Development](/categories/api)

stellarsecurity/notification-laravel
====================================

Laravel client for Stellar Notification API

1.0.1(1mo ago)0295MITPHPPHP ^8.2

Since Dec 26Pushed 1mo agoCompare

[ Source](https://github.com/StellarSecurity-Packages/stellarsecurity-notification-laravel)[ Packagist](https://packagist.org/packages/stellarsecurity/notification-laravel)[ RSS](/packages/stellarsecurity-notification-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Stellar Notifications (Laravel)
===============================

[](#stellar-notifications-laravel)

A lightweight Laravel package for sending events to the **Stellar Notification API**.

Install
-------

[](#install)

```
composer require stellarsecurity/notification-laravel
```

Publish config
--------------

[](#publish-config)

```
php artisan vendor:publish --tag=stellar-notifications-config
```

Configure
---------

[](#configure)

In your `.env`:

```
STELLAR_NOTIFICATIONS_BASE_URL=https://your-notifications-api.example
STELLAR_NOTIFICATIONS_BASIC_USERNAME=your-basic-username
STELLAR_NOTIFICATIONS_BASIC_PASSWORD=your-basic-password
```

Optional HTTP settings. These defaults are already built into the package, even if you do not publish config:

```
STELLAR_NOTIFICATIONS_TIMEOUT=30
STELLAR_NOTIFICATIONS_CONNECT_TIMEOUT=10
STELLAR_NOTIFICATIONS_RETRY_TIMES=5
STELLAR_NOTIFICATIONS_RETRY_SLEEP_MS=1000
STELLAR_NOTIFICATIONS_RETRY_MULTIPLIER=2
STELLAR_NOTIFICATIONS_RETRY_MAX_SLEEP_MS=10000
```

Retry is applied to transient failures:

- connection timeouts / connection errors
- 408 Request Timeout
- 429 Too Many Requests
- 500 Internal Server Error
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout

With the defaults, retry backoff is:

```
1s -> 2s -> 4s -> 8s -> 10s max

```

Each request attempt can use up to 10 seconds to connect and 30 seconds total request time.

Usage
-----

[](#usage)

```
use StellarSecurity\Notifications\DTO\NotificationEvent;
use Notification;

Notification::send(
    NotificationEvent::make('welcome')
        ->product('stellar-antivirus')
        ->email($user->email)
        ->userRef((string) $user->id)
        ->payload(['app_name' => 'Stellar Antivirus'])
        ->idempotencyKey('welcome-'.$user->id)
);
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance90

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150491881?v=4)[Bob](/maintainers/stellar-security-os)[@stellar-security-os](https://github.com/stellar-security-os)

---

Top Contributors

[![bleko1234](https://avatars.githubusercontent.com/u/14978903?v=4)](https://github.com/bleko1234 "bleko1234 (3 commits)")

### Embed Badge

![Health badge](/badges/stellarsecurity-notification-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/stellarsecurity-notification-laravel/health.svg)](https://phpackages.com/packages/stellarsecurity-notification-laravel)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

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