fivelab/transactional

为您的应用程序添加事务层

v2.2.1 2021-12-07 09:39 UTC

This package is auto-updated.

Last update: 2024-09-22 12:58:09 UTC


README

 #StandWithUkraine 

事务

Build Status

使用此包,您可以在事务层中运行您的代码。

安装

在您的 composer.json 中添加 FiveLab/Transactional

{
    "require": {
        "fivelab/transactional": "~2.0"
    }
}

现在运行以下命令让 composer 下载库:

php composer.phar update fivelab/transactional

开发

为了便于开发,您可以使用我们的 Dockerfile

docker build -t transactional .
docker run -it -v $(pwd):/code transactional bash