Skip to content

v0.1.0

Choose a tag to compare

@lam0819 lam0819 released this 26 Nov 07:28
· 26 commits to main since this release
42b59d4

The first internal release of solutionforest/laravel-collaboration: Google Docs-style collaboration for any Laravel app, with adapters for Livewire, Inertia + React and Inertia + Vue, and TipTap for rich text.

What's in it

  • Live fields:
    • Text merges by character; rich text (TipTap) keeps its formatting.
    • Selects, checkboxes, checkbox groups, radios and dates take the latest choice.
  • Presence: faces, who is in which field, other people's carets and selections, and sync status.
  • Each person's own undo, and locked fields (->lock()).
  • Saving everybody's edits: $post->collaboration()->update($validated), or saveCollaboratively() in Livewire.
  • Your policies decide who may join, and access is checked again on every sync.
  • Typo protection:
    • Wrong field kinds and names fail with "did you mean".
    • TypeScript declarations for every entry point.
    • PHPStan level 10.
  • Integrations: hooks used by filament-collaboration, which is being moved onto this package (solutionforest/filament-collaboration#14).

Install (private repository)

"repositories": [{ "type": "vcs", "url": "git@github.com:solutionforest/laravel-collaboration.git" }]
composer require solutionforest/laravel-collaboration:^0.1
php artisan migrate
npm install ./vendor/solutionforest/laravel-collaboration   # Inertia apps only

See the README for the quick start for each stack.