boykioyb / laravel-notice-fcm
Laravel send notification by fcm v1.0.0
v1.0.4
2022-01-11 05:41 UTC
Requires
- php: ^7.2|^8.0
- hashids/hashids: ^4.1
- illuminate/console: ^6.0|^7.0|^8.0
- illuminate/container: ^6.0|^7.0|^8.0
- illuminate/contracts: ^6.0|^7.0|^8.0
- illuminate/encryption: ^6.0|^7.0|^8.0
- illuminate/http: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
Requires (Dev)
- hashids/hashids: ^3.0|^4.0.0
- phpunit/phpunit: ^8.0
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