承接 geowrgetudor/transaction-rollback 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geowrgetudor/transaction-rollback

最新稳定版本:0.0.3

Composer 安装命令:

composer require geowrgetudor/transaction-rollback

包简介

Track DB transaction rollbacks

README 文档

README

Transaction rollback tracker for Laravel Pulse

Track Laravel database transaction rollbacks

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Track the rollbacked database transaction in Laravel Pulse.

Installation

You can install the package via composer:

composer require geowrgetudor/transaction-rollback

Optionally, you can publish the views using

php artisan vendor:publish --tag="transaction-rollback-views"

Usage

Register the recorder inside config/pulse.php. (If you don't have this file make sure you have published the config file of Laravel Pulse using php artisan vendor:publish --tag=pulse-config)

return [
    // ...

    'recorders' => [
        // Existing recorders...

        \Geow\TransactionRollback\Recorders\TransactionRollbackRecorder::class => [
            'enabled' => env('GEOW_TRANSACTION_ROLLBACKS', true),
            'ignore' => [
                // Ignore connections or databases.
            ],
        ]
    ]
]

Rollbacked queries will be recorded ONLY if you use query logging DB::enableQueryLog() before starting a transaction.

Publish Laravel Pulse dashboard.blade.php view using php artisan vendor:publish --tag=pulse-dashboard

Then you can modify the file and add the transaction-rollbacks livewire template.

<livewire:transaction-rollbacks cols="full" />

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 772
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-08