Real-time headless CMS content synchronization engine transforming publish webhooks into local Redis and SQLite read-model snapshots.
- Production Resilience: Engineered with decoupled interfaces, structured exception trees, and strict typings.
- High Concurrency Ready: Built to eliminate latency bottlenecks, memory spikes, and race conditions.
- Enterprise Standards: Zero-dependency core logic with clean service provider adapters.
- Full Observability: Embedded metrics telemetry and structured contextual logging.
graph TD
Client[Incoming Event / API Trigger] --> Gate[Input Validation & Policy Guard]
Gate --> CoreEngine[CMS Relay: Bi-Directional Content Sync Engine]
CoreEngine --> Adapter[External Storage / Cluster / State Provider]
CoreEngine --> Observer[Telemetry & Audit Logger]
- PHP:
^8.2or later - Composer: Modern Composer v2+
composer require smit-backend/headless-cms-syncPublish configuration and default assets:
php artisan vendor:publish --tag="headless-cms-sync-config"Sample configuration excerpt (config/headless-cms-sync.php):
return [
'enabled' => env('HEADLESS_CMS_SYNC_ENABLED', true),
'timeout' => env('HEADLESS_CMS_SYNC_TIMEOUT', 30),
'log_channel' => env('HEADLESS_CMS_SYNC_LOG', 'stack'),
];Run test suites locally:
composer testIf you discover any security-related issues, please open an issue or email directly via GitHub. Contributions via pull requests are always welcome!
This package is open-sourced software licensed under the MIT License.
Developed and maintained with ❤️ by smit-backend.