Connect LibSQL Remote Replica / Embedded Replica databases using the LibSQL PHP Extension
url
parameter in the client configuration.syncUrl
parameter in the client configuration.url
.syncUrl
./home/turso/app/database.db
remember the back-slash at the begining.5
).true
).$db->sync()
in the background whenever your application wants to sync the remote and local embedded replica. For example, you can call it every 5 minutes or every time the application starts.