idlab/loggable
最新稳定版本:1.1.3
Composer 安装命令:
composer require idlab/loggable
包简介
Allows you to log updates occurring on entities
README 文档
README
Configuration in doctrine.yaml
To set under the wished connection configuration :
idlab_loggable:
prefix: Idlab\Loggable\Entity
dir: "%kernel.project_dir%/vendor/idlab/loggable/src/Entity"
Package file configuration
You can add a config file name "idlab_loggable.yaml" in config/packages in you Symfony project :
idlab_loggable:
enabled: true
disallowed_namespaces: [
'Idlab\Loggable\Tests\Entity\IgnoredByNamespace'
]s
disallowed_classes: [
Idlab\Loggable\Tests\Entity\OtherDummyIgnoredByClass
]
logs_target_connection_name: 'default'
table_prefix: 'example_table_prefix_'
Add IdlabLoggable attribute
Import :
use Idlab\Loggable\Mapping\Attributes\IdlabLoggable;
#[IdlabLoggable]
public ?string $value = null;
统计信息
- 总下载量: 100
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-05