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.

Installs: 5 823

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

Type:yii2-extension

1.0.5 2021-01-06 08:15 UTC

This package is auto-updated.

Last update: 2024-06-06 15:46:58 UTC


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