New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

fahmiardi/laravel-notification

Various laravel notifications channels
228

Larablocks Analysis

fahmiardi/laravel-notification works with Laravel 5 (latest release 0.1, Dec 15, 2016), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Dec 15, 2016)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Dec 15, 2016.
  • No releases in the last 12 months.
  • First released: Dec 15, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require fahmiardi/laravel-notification
Latest Version:0.1
Laravel:5
License:MIT
Last Updated:Dec 15, 2016
Links: GitHub  ·  Packagist
Maintainer: fahmiardi

More Laravel Notification Providers

Available Channels:

  • AWS SNS (Simple Notification Services), support using credentials or profile

Install

$ composer require fahmiardi/laravel-notification

Setup

Add config to app/services.php:

return [
    ...
    'sns' => [
        'key' => env('SNS_KEY'),
        'secret' => env('SNS_SECRET'),
        'region' => env('SNS_REGION'),
        'profile' => env('AWS_PROFILE'), // keep this value empty when using credentials
    ],
];

Usage

Use generic:

<?php

$user->notify(
    new \Fahmiardi\Laravel\Notifications\GenericSnsNotification($topicArn, $subject, $message)
);

Create your own:

Read the official page https://laravel.com/docs/5.3/notifications#creating-notifications

<?php

namespace App\Notifications;

use Illuminate\Notifications\Notification;
use Fahmiardi\Laravel\Notifications\Channels\SnsChannel;
use Fahmiardi\Laravel\Notifications\Messages\SnsMessage;

class InvoicePaid extends Notification
{
    protected $invoice;

    public function __construct($invoice)
    {
        $this->invoice = $invoice;
    }

    public function via($notifiable)
    {
        return [SnsChannel::class];
    }

    public function toSns($notifiable)
    {
        return (new SnsMessage)
            ->topicArn('ARN')
            ->subject('SUBJECT')
            ->message('MESSAGE');
    }
}

$user->notify(new InvoicePaid($invoice));

Related Packages

lab123/aws-sns

Amazon SNS notification channels (SMS and topics) for Laravel

28,861 31
gizburdt/talk

Send notifications to recipients

2,027 1
mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1,264,978 1,723
babenkoivan/telegram-notifications

Telegram notifications for Laravel

53,976 38
williamcruzme/laravel-fcm

A powerful Laravel package to send Push Notifications

15,358 64

Version History

Version Released Laravel License
0.1 ~5.0 MIT