Your SaaS needs to talk to users. Not just email - in-app notifications that persist, track reads, support multiple languages, and let admins target specific user segments.
I built Kohana.io - a production CRM/ERP for small businesses. The notification module evolved into a dual-architecture system: admin broadcasts and automated system notifications sharing the same table, the same UI, and the same read-tracking mechanism.
Now I'm extracting it into LaraFoundry , an open-source SaaS framework for Laravel. This post covers the full implementation.
Table of Contents
Dual Architecture
Database Schema
Multilingual Content
Recipient Segmentation
Admin CRUD & Workflow
System Notifications
Delivery & Read Statistics
Frontend UX
Testing
Design Decisions
Dual Architecture
LaraFoundry has two notification types that coexist in one system:
Admin notifications - created manually in the admin panel:
Multilingual titles and bodies stored as JSON in the database
Recipient filters: country, sex, age…