Hi everyone, I hope you are having a great day.

As you may already have seen, there was a PR merged to Laravel 12 recently regading adding onFailure closure to transaction (which I liked it):

github.com/laravel/framework/pull/55338



Since it is a breaking change on laravel-mongodb, it is reverted.

So, I created a lightweight package where you can have same functionality, even more

Check it out, Bon appétit!

github.com/moe-mizrak/transaction-builder

image

24