mipotech / yii2-request-logger
A useful class for generating a thorough log of all requests and responses. Especially suitable for REST APIs built upon the Yii2 framework.
Package info
github.com/mipotech/yii2-request-logger
Type:yii2-extension
pkg:composer/mipotech/yii2-request-logger
1.0.5
2021-01-06 08:15 UTC
Requires
- php: 7.*
- yiisoft/yii2: ~2.0.0
README
A useful class for generating a thorough log of all requests and responses. Especially suitable for REST APIs built upon the Yii2 framework.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist mipotech/yii2-response-logger "*"
or add
"mipotech/yii2-response-logger": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \mipotech\responselogger\AutoloadExample::widget(); ?>``` ./yii migrate --migrationPath=@vendor/mipotech/yii2-request-logger/migrations