Skip to content

How it works ​

The shared draft is a CRDT, written twice, in PHP and in JavaScript. Both implementations replay the same recorded sessions in the tests, so they merge identically. Each page gets an encrypted token naming its user, record and fields. The browser sends its edits, caret and heartbeat in one request and gets back what it is missing. The server applies edits under a row lock and checks the user's access again on every request.

DiagramDiagram

The engine is shared with filament-collaboration, which builds its Filament integration on this package.

Released under the MIT License.