Set up Laravel Chorus in your application and start synchronizing your models in minutes.
resources/js/chorus
config/chorus.php
file contains all Chorus settings:
Harmonics
trait to any model you want to synchronize:
app/Actions/WriteActions/
:
config/chorus.php
:
WebSocket Connection Issues
--debug
flag to see when harmonic events get fired.Changes Not Syncing
Offline Writes Failing
allowOfflineWrites => true
and proper validation rules.Type Errors in Frontend
php artisan chorus:generate --types
to regenerate TypeScript definitions.