If you use DB::beginTransaction() and DB::commit() instead of the DB::transaction() closure, you might be leaving your database in a weird state when things go wrong. #php #laravel https://masteringlaravel.io/daily/2026-03-24-manual-transactions-dont-fail-the-way-youd-expect
