PHPackages                             strider2038/yii2-ajax-debugger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. strider2038/yii2-ajax-debugger

AbandonedArchivedYii2-extension[Utility &amp; Helpers](/categories/utility)

strider2038/yii2-ajax-debugger
==============================

Handy developer tool for debugging AJAX requests in web browser

1.0.0(9y ago)012MITPHP

Since Feb 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/strider2038/yii2-ajax-debugger)[ Packagist](https://packagist.org/packages/strider2038/yii2-ajax-debugger)[ RSS](/packages/strider2038-yii2-ajax-debugger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Yii2 Ajax debugger
==================

[](#yii2-ajax-debugger)

Installation
------------

[](#installation)

Either run

```
$ php composer.phar require strider2038/yii2-ajax-debugger "*"

```

or add

```
"strider2038/yii2-ajax-debugger": "*"

```

to the `require` section of your `composer.json` file.

About
-----

[](#about)

This tool is based on [JSONBeautifyIt](https://github.com/strider2038/json-beautify-it)function for formatting JSON/JSONP data. DebugDetector component can intercept JSON or JSONP responses from server and format them as html document. After rendering JSON data JSONBeautifyIt function is applied for beautifying rendered data array. Be aware of using this component in production mode.

To set up this component for work you should add this lines to your web config file

```
$config = [
     // this is needed to initialize component on app load
     'bootstrap' => ['ajaxDebugger', ...],
     'components' => [
         'ajaxDebugger' => [
             'class' => 'strider2038\ajaxdebugger\DebugDetector',
             // conditions for enabling debug mode
             'enabled' => YII_ENV_DEV && !empty($_GET['_debug']),
         ],
         ...
     ],
     ...
];
```

After that you can open pages with AJAX or API responses in browser. If you add GET parameter \_debug=1 you will see parsed JSON data and debug panel as on other html pages.

[![Yii2 Ajax debugger example](https://raw.githubusercontent.com/strider2038/yii2-ajax-debugger/master/examples/example1.jpg "JSONP response in browser")](https://raw.githubusercontent.com/strider2038/yii2-ajax-debugger/master/examples/example1.jpg)

You can see working examples in my Yii2 template -

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3362d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5edb8cf7fe38bedeb682178fe31df17efb5e0314213b6ec2c7a25d97414c137?d=identicon)[strider2038](/maintainers/strider2038)

---

Top Contributors

[![strider2038](https://avatars.githubusercontent.com/u/10331395?v=4)](https://github.com/strider2038 "strider2038 (5 commits)")

---

Tags

debugdeveloperdeveloper-toolsdevelopingextensiontoolutilityyii2debugtoolyii2extensionajaxdeveloperdeveloping

### Embed Badge

![Health badge](/badges/strider2038-yii2-ajax-debugger/health.svg)

```
[![Health](https://phpackages.com/badges/strider2038-yii2-ajax-debugger/health.svg)](https://phpackages.com/packages/strider2038-yii2-ajax-debugger)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
