承接 damienharper/auditor 相关项目开发

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

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

damienharper/auditor

最新稳定版本:3.3.4

Composer 安装命令:

composer require damienharper/auditor

包简介

The missing audit log library.

README 文档

README

Latest Stable Version Latest Unstable Version auditor 3.x CI Scrutinizer Code Quality codecov License Total Downloads Monthly Downloads Daily Downloads

The purpose of auditor is to provide an easy and standardized way to collect audit logs.

Architecture

This library is architected around two concepts:

  • Auditing services responsible for collecting audit events
  • Storage services responsible for persisting audit traces

Those two kind of services are offered by Providers.

Default provider

A default provider is included with this library: the DoctrineProvider

DoctrineProvider offers both auditing services and sorage services. It creates audit logs for all Doctrine ORM database related changes:

  • inserts and updates including their diffs and relation field diffs.
  • many to many relation changes, association and dissociation actions.
  • if available, the user responsible for these changes and his IP address are recorded.
  • audit entries are inserted within the same transaction during flush event so that even if something fails the global state remains clean.

DoctrineProvider supports following RDBMS

  • MySQL
  • MariaDB
  • PostgreSQL
  • SQLite

DoctrineProvider should work with any other database supported by Doctrine. Though, we can only really support the ones we can test with GitHub Actions.

Basically you can track any change of any entity from audit logs.

NOTE: DoctrineProvider cannot track DQL or direct SQL statements executions.

Official Documentation

auditor official documentation can be found here.

Version Information

Version Status Requirements Badges
3.x Active development ???? PHP >= 8.2, Symfony >= 5.4 auditor 3.x CI
Scrutinizer Code Quality
codecov
2.x Active support PHP >= 7.4, Symfony >= 4.4 auditor 2.x CI
Scrutinizer Code Quality
codecov
1.x EOL PHP >= 7.2, Symfony >= 3.4 auditor 1.x CI
Scrutinizer Code Quality
codecov

Changelog is available here

Contributing

auditor is an open source project. Contributions made by the community are welcome. Send us your ideas, code reviews, pull requests and feature requests to help us improve this project.

Do not forget to provide unit tests when contributing to this project. To do so, follow instructions in this dedicated README

Credits

License

auditor is free to use and is licensed under the MIT license

统计信息

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

GitHub 信息

  • Stars: 180
  • Watchers: 4
  • Forks: 63
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固