gdbots/enrichments
最新稳定版本:v3.0.0
Composer 安装命令:
composer require gdbots/enrichments
包简介
Php library that provides implementations for gdbots:enrichments schemas.
README 文档
README
Php library that provides implementations for gdbots:enrichments schemas. Using this library assumes that you've already created and compiled your own pbj classes using the Pbjc and are making use of the "gdbots:enrichments:mixin:*" mixins from gdbots/schemas.
Symfony Integration
Enabling these enrichments in a Symfony app is done by importing classes and letting Symfony autoconfigure and autowire them.
config/packages/enrichments.yml:
services: _defaults: autowire: true autoconfigure: true public: false Gdbots\Enrichments\: resource: '%kernel.project_dir%/vendor/gdbots/enrichments/src/*' tags: - {name: monolog.logger, channel: enrichments} bind: Psr\Log\LoggerInterface: '@monolog.logger.enrichments'
TODO
- Create the ip-to-geo enricher with pluggable providers (ip2location, maxmind)
统计信息
- 总下载量: 14.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2017-12-09