{"id":36969566,"url":"https://github.com/strider2038/yii2-ajax-debugger","last_synced_at":"2026-01-13T21:31:32.230Z","repository":{"id":57060425,"uuid":"83239302","full_name":"strider2038/yii2-ajax-debugger","owner":"strider2038","description":"Utility for debugging AJAX or API responses in browser","archived":true,"fork":false,"pushed_at":"2017-02-26T20:53:44.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T20:28:38.748Z","etag":null,"topics":["debug","developer","developer-tools","developing","extension","tool","utility","yii2"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strider2038.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-26T20:43:18.000Z","updated_at":"2023-01-28T01:10:21.000Z","dependencies_parsed_at":"2022-08-24T07:30:44.511Z","dependency_job_id":null,"html_url":"https://github.com/strider2038/yii2-ajax-debugger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/strider2038/yii2-ajax-debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fyii2-ajax-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fyii2-ajax-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fyii2-ajax-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fyii2-ajax-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strider2038","download_url":"https://codeload.github.com/strider2038/yii2-ajax-debugger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fyii2-ajax-debugger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","developer","developer-tools","developing","extension","tool","utility","yii2"],"created_at":"2026-01-13T21:31:31.598Z","updated_at":"2026-01-13T21:31:32.225Z","avatar_url":"https://github.com/strider2038.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Ajax debugger\n\n## Installation\n\nEither run\n\n```\n$ php composer.phar require strider2038/yii2-ajax-debugger \"*\"\n```\n\nor add\n\n```\n\"strider2038/yii2-ajax-debugger\": \"*\"\n```\n\nto the ```require``` section of your `composer.json` file.\n\n## About\n\nThis tool is based on [JSONBeautifyIt](https://github.com/strider2038/json-beautify-it) \nfunction for formatting JSON/JSONP data. DebugDetector component can intercept JSON or \nJSONP responses from server and format them as html document. After rendering JSON \ndata JSONBeautifyIt function is applied for beautifying rendered data array. Be aware \nof using this component in production mode.\n\nTo set up this component for work you should add this lines to your web\nconfig file\n \n```php\n$config = [\n     // this is needed to initialize component on app load\n     'bootstrap' =\u003e ['ajaxDebugger', ...], \n     'components' =\u003e [\n         'ajaxDebugger' =\u003e [\n             'class' =\u003e 'strider2038\\ajaxdebugger\\DebugDetector',\n             // conditions for enabling debug mode\n             'enabled' =\u003e YII_ENV_DEV \u0026\u0026 !empty($_GET['_debug']),\n         ],\n         ...\n     ],\n     ...\n];\n```\n \nAfter that you can open pages with AJAX or API responses in browser. If you\nadd GET parameter \\_debug=1 you will see parsed JSON data and debug panel as\non other html pages.\n\n![Yii2 Ajax debugger example](https://raw.githubusercontent.com/strider2038/yii2-ajax-debugger/master/examples/example1.jpg \"JSONP response in browser\")\n\nYou can see working examples in my Yii2 template - \u003chttps://github.com/strider2038/yii2-template/blob/master/controllers/AjaxController.php\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrider2038%2Fyii2-ajax-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrider2038%2Fyii2-ajax-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrider2038%2Fyii2-ajax-debugger/lists"}