landingi/event-store-bundle
Composer 安装命令:
composer require landingi/event-store-bundle
包简介
Landingi event store bundle implementation
README 文档
README
Landingi Event Store Implementation
Requirements
- php >= 7.4
- Doctrine 2.0 || 3.0
- Symfony >= 5.2
Configuration
Event Store
Add to your service.yaml Event Store service definition
landingi.event-store.dbal: class: Landingi\EventStoreBundle\EventStore\DbalEventStore arguments: ['@doctrine.dbal.default_connection'] Landingi\EventStoreBundle\EventStore: class: Landingi\EventStoreBundle\EventStore\ListenerEventStore arguments: ['@landingi.event-store.dbal'] calls: - [addListener, ['@your-event-listener-service']]
Bundle auto-configuration
- To
config/packagesaddlandingi_event_store.yamlwith following content
landingi_event_store: event_store: connection: 'doctrine.dbal.default_connection' # landingi_production DB connection auditlog: enabled: true # set to false to disable AuditLogListener endpoint: 'http://audit-log' # base URL endpoint for SymfonyHttpAuditLogStore client: 'http_client' # instance of Symfony\Contracts\HttpClient\HttpClientInterface interface strict_mode: true # set to false to ignore StrictAuditLogListener allowed events list
- To
config/bundles.phpadd:
Landingi\EventStoreBundle\LandingiEventStoreBundle::class => ['all' => true]
统计信息
- 总下载量: 61.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-04