And add the service provider in config/app.php:
Viest\Transactions\MongodbTransactionsServiceProvider::class
$uuid = 'UUID';
Model::openTransactions($uuid);
AccountModel::where('a_uid', 123)->increment('a_money', 100);
// ........
Model::rollback($uuid);