elcweb / requestlogger-bundle
此包已被放弃,不再维护。未建议替代包。
在表格中记录请求/响应/用户
v0.1.0
2015-11-27 18:16 UTC
Requires
- php: >=5.4
- symfony/framework-bundle: >=2.7,<3.0-dev
Suggests
This package is auto-updated.
Last update: 2021-09-07 18:46:17 UTC
README
安装
步骤 1:使用 Composer 下载
{ "require": { "elcweb/requestlogger-bundle": "dev-master" } }
现在让 Composer 运行以下命令下载此包
$ php composer.phar update elcweb/requestlogger-bundle
步骤 2:启用包
在内核中启用该包
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Elcweb\RequestLoggerBundle\ElcwebRequestLoggerBundle(), ); }
步骤 3:Doctrine 迁移(可选)
我们建议使用 DoctrineMigration
一个迁移示例位于
DoctrineMigrations/Version20151113094341.php
使用方法
无需操作,您将在请求表中访问到请求/响应/用户对象
许可证
此包受 MIT 许可证保护。请参阅包中的完整许可证。
Resources/meta/LICENSE
报告问题或功能请求
问题和功能请求在 Github 问题跟踪器 中跟踪。
报告错误时,最好在基于 Symfony 标准版 的基本项目中重现错误,以便包的开发者可以通过简单地克隆项目并遵循一些步骤来重现问题。