Laravel Read Replica Lag: PreventStaleDatabaseReads, usingWritePdo, and Commit IDs November 12, 2026 laravel mysql php database replication Laravel 13.38 adds PreventStaleDatabaseReads and usingWritePdo(), and 13.40 adds commit IDs. Fix read replica lag so users see their own writes. Read more →