boykioyb/laravel-notice-fcm

Laravel send notification by fcm v1.0.0

Maintainers

Package info

github.com/boykioyb/laravel-notice-fcm

pkg:composer/boykioyb/laravel-notice-fcm

Statistics

Installs: 18

Dependents: 0

Suggesters: 0

Stars: 1

v1.0.4 2022-01-11 05:41 UTC

This package is auto-updated.

Last update: 2026-03-11 14:39:34 UTC


README

php artisan vendor:publish --force

Select notify-configs, notify-migrations

php artisan migrate

Edit logging config

open file config/logging.php

Add new logging:

<?php
return [
    'channels'=>[
        'notification' => [
            'driver' => 'daily',
            'path' => storage_path('logs/notification.log'),
            'level' => 'debug',
            'days' => 14,
        ]
    ]
]
?>

Add NOTIFICATION_FCM_API_KEY to .env