Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Code Examples of database transactions

Discover how to use Laravel's database transactions method in real-world applications. Browse 9 examples from popular open-source projects.

9 examples

akaunting/akaunting

  • 9348
  • Created Sep 2017
  • Updated Nov 2025

Files in this example

  • app/BulkActions/Banking/Reconciliations.php
View full example

pterodactyl/panel

  • 8314
  • Created Dec 2016
  • Updated Nov 2025

Files in this example

  • app/Http/Controllers/Api/Remote/Servers/ServerTransferController.php
View full example

pixelfed/pixelfed

  • 6813
  • Created Apr 2018
  • Updated Nov 2025

Files in this example

  • app/Jobs/DeletePipeline/DeleteRemoteProfilePipeline.php
View full example

realodix/urlhub

  • 532
  • Created Aug 2018
  • Updated Nov 2025

Files in this example

  • app/Http/Controllers/UrlRedirectController.php
View full example

luadotsh/lua

  • 324
  • Created Oct 2024
  • Updated Oct 2025

Files in this example

  • app/Http/Controllers/MediaController.php
View full example

themsaid/ergodnc

  • 262
  • Created Sep 2021
  • Updated Dec 2023

Files in this example

  • app/Http/Controllers/OfficeController.php
View full example

amitavroy/doctor-app

  • 40
  • Created Sep 2021
  • Updated Jan 2022

Files in this example

  • app/Services/PatientService.php
View full example

devhub-az/devhub

  • 24
  • Created Dec 2019
  • Updated Jul 2022

Files in this example

  • app/Http/Controllers/Api/ArticleController.php
View full example

JuanDMeGon/Laravel-from-Scratch

  • 17
  • Created Apr 2020
  • Updated Mar 2021

Files in this example

  • app/Http/Controllers/OrderController.php
View full example

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.