Can Laravel manage business transactions in a unit of work?

Posted 3 years ago by kwebble

Is there a standard implementation in Laravel 5.2 to persist all changes on objects managed by Eloquent to the database in a single atomic call?

Each request should start a business transaction. After all required actions are performed the changes should be committed, or rolled back if an error occurred during processing.

It does not need to support two-phase commit.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.