Download the PHP package cboxdk/laravel-sync-client without Composer
On this page you can find all versions of the php package cboxdk/laravel-sync-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cboxdk/laravel-sync-client
More information about cboxdk/laravel-sync-client
Files in cboxdk/laravel-sync-client
Package laravel-sync-client
Short Description Client for Cbox Sync: a durable local replica, an outbox, and the retry semantics a device needs
License MIT
Informations about the package laravel-sync-client
Cbox Sync Client
The device side of Cbox Sync: a durable local replica, a queue for writes made offline, and the retry semantics that make both safe.
Everything the device knows lives in one local SQLite file: the replica's state, the outbox, and which views it has already synced. Kill the process mid-sync and it comes back knowing what it knew.
What this package is for
Four things have to be right for every write a device makes, and getting any one wrong is silent data loss or a queue that never moves again:
- a write that was processed is done, whether it applied, conflicted or was rejected
- a write the server could not take right now must be retried under the same identity, or it applies twice
- a write the server has not seen yet must be renumbered from where the server actually is
- a write the server will never take must leave the queue, with a reason the application can show
push() implements exactly those four. That is the whole reason this package
exists rather than a page of documentation telling you to implement them.
Configuration, the replica id and the local database path are in
configuration. Requires PHP ^8.4 and
Laravel 12 or 13.
MIT, copyright Cbox. See BUILD-STATUS.md.
All versions of laravel-sync-client with dependencies
ext-pdo Version *
cboxdk/sync Version ^0.9
illuminate/config Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0