yiisoft/yii-debug-api

Yii Debug API

dev-master / 3.0.x-dev 2023-06-02 07:13 UTC

README

yiisoft.png

Yii debug API


Latest Stable Version Total Downloads Build status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis

This extension provides an API for Yii Debug extension.

Requirements

  • PHP 7.4 or higher.

Installation

Add the package to your application:

composer require yiisoft/yii-debug-api

General usage

Routes will be registered automatically within Yii application router. You can check if everything is OK by going to /debug URL.

Testing

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework. To run it:

./vendor/bin/infection

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

License

The Yii Debug API is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.