Skip to content

MaxSe7en/notification_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Notification Service

A high-performance PHP service for managing and delivering real-time notifications across multiple channels.

πŸ”” Features

  • Multi-channel delivery – supports WebSocket, Email, SMS, and Push notifications.
  • Real-time updates – built with Swoole and Redis to push messages instantly to connected users.
  • Queue & Retry – offline users’ messages are queued in Redis for later delivery.
  • Bulk messaging – efficiently send to thousands of users with batching and limits.
  • Notification management – create, read, mark as read, and clean up old notifications.
  • Logging & Monitoring – Monolog integration for structured logs.

πŸ› οΈ Tech Stack

  • PHP 8+ with Composer autoloading (PSR-4)
  • Swoole for high-performance WebSocket server
  • Redis (Predis client) for queues and pub/sub
  • MySQL (PDO) for persistence
  • Monolog for logging

πŸ“‚ Structure

  • app/ – Controllers, Models, Services, Config, Exceptions
  • workers/ – WebSocket and background workers (notification processing, queues)
  • public/ – Application entry point

πŸš€ Use Cases

  • In-app notification systems
  • Real-time dashboards
  • Messaging/alerting features in SaaS products
  • Event-driven systems requiring fast, reliable delivery

About

Service for sending notification to users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages