[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8405":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":14,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},8405,"php-debugbar","php-debugbar\u002Fphp-debugbar","Debug bar for PHP","https:\u002F\u002Fphp-debugbar.com",null,"PHP",4388,424,71,3,0,1,29.89,"MIT License",false,"master",true,[],"2026-06-12 02:01:53","# PHP Debug Bar\n\n[![Latest Stable Version](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fphp-debugbar\u002Fphp-debugbar?label=Stable)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fphp-debugbar\u002Fphp-debugbar) [![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Fmaximebf\u002Fdebugbar?label=Downloads)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fphp-debugbar\u002Fphp-debugbar) [![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicence-MIT-4d9283)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fphp-debugbar\u002Fphp-debugbar) [![Tests](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fphp-debugbar\u002Factions\u002Fworkflows\u002Funit-tests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fphp-debugbar\u002Factions\u002Fworkflows\u002Frun-tests.yml)\n\nDisplays a debug bar in the browser with information from php.\nNo more `var_dump()` in your code!\n\n> **Note: Debug Bar is for development use only. Never install this on websites that are publicly accessible.**\n\n> Debugbar has had significant updates in 3.x (January 2026).\n> See the [Release Notes](https:\u002F\u002Fphp-debugbar.com\u002Fdocs\u002Frelease-notes\u002F) for more information and breaking changes.\n\n![Screenshot](https:\u002F\u002Fraw.github.com\u002Fphp-debugbar\u002Fphp-debugbar\u002Fmaster\u002Fdocs\u002Fscreenshot.png)\n\n**Features:**\n\n - Generic Debug Bar for PHP projects\n - Easy to integrate with any project\n - Clean, fast and easy to use interface\n - Handles AJAX request\n - Includes generic data collectors and collectors for well known libraries\n - The client side bar is 100% coded in plain javascript\n - Easily create your own collectors and their associated view in the bar\n - Save and re-open previous requests\n - [Very well documented](http:\u002F\u002Fphp-debugbar.com\u002Fdocs\u002F)\n\nIncludes collectors for:\n  - Messages\n  - Config\n  - Time\n  - Memory\n  - Exceptions\n  - PHP Info\n  - Request Data\n  - Templates\n  - Object Count\n  - [PDO](http:\u002F\u002Fphp.net\u002Fmanual\u002Fen\u002Fbook.pdo.php)\n  - [Monolog](https:\u002F\u002Fgithub.com\u002FSeldaek\u002Fmonolog)\n  - [Symfony Mailer](https:\u002F\u002Fsymfony.com\u002Fdoc\u002Fcurrent\u002Fmailer.html)\n  - [Symfony HttpFoundation](https:\u002F\u002Fsymfony.com\u002Fdoc\u002Fcurrent\u002Fcomponents\u002Fhttp_foundation.html)\n\nCheckout the [demo](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fphp-debugbar\u002Ftree\u002Fmaster\u002Fdemo) for\nexamples and [php-debugbar.com](http:\u002F\u002Fphp-debugbar.com) for a live example.\n\nAdditional collectors are available here:\n - [Twig](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Ftwig-bridge)\n - [Doctrine](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fdoctrine-bridge)\n - [Monolog](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fmonolog-bridge)\n - [Symfony](https:\u002F\u002Fgithub.com\u002Fphp-debugbar\u002Fsymfony-bridge)\n\nIntegrations with other frameworks:\n\n  - [Laravel](https:\u002F\u002Fgithub.com\u002Fbarryvdh\u002Flaravel-debugbar)\n  - [Zend Framework 2](https:\u002F\u002Fgithub.com\u002Fsnapshotpl\u002FZfSnapPhpDebugBar)\n  - [Phalcon](https:\u002F\u002Fgithub.com\u002Fsnowair\u002Fphalcon-debugbar)\n  - [SilverStripe](https:\u002F\u002Fgithub.com\u002Flekoala\u002Fsilverstripe-debugbar)\n  - [Grav CMS](https:\u002F\u002Fgetgrav.org)\n  - [TYPO3](https:\u002F\u002Fgithub.com\u002FKonafets\u002Ftypo3_debugbar)\n  - [Joomla](https:\u002F\u002Fgithub.com\u002Fjoomla\u002Fjoomla-cms\u002Fblob\u002F4.0-dev\u002Fplugins\u002Fsystem\u002Fdebug\u002Fdebug.php)\n  - [Drupal](https:\u002F\u002Fwww.drupal.org\u002Fproject\u002Fdebugbar)\n  - [October CMS](https:\u002F\u002Fgithub.com\u002Frainlab\u002Fdebugbar-plugin)\n  - [Winter CMS](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fwinter\u002Fwn-debugbar-plugin)\n  - [ZubZet Framework (From v1.2.0+)](https:\u002F\u002Fzubzet.com\u002F)\n  - Framework-agnostic middleware and PSR-7 with [php-middleware\u002Fphpdebugbar](https:\u002F\u002Fgithub.com\u002Fphp-middleware\u002Fphpdebugbar)\n  - [Dotkernel Frontend Application](https:\u002F\u002Fgithub.com\u002Fdotkernel\u002Fdot-debugbar)\n\n*(drop me a message or submit a PR to add your DebugBar related project here)*\n\n## Installation\n\nThe best way to install DebugBar is using [Composer](http:\u002F\u002Fgetcomposer.org)\nwith the following command:\n\n```bash\ncomposer require --dev php-debugbar\u002Fphp-debugbar\n```\n\n## Quick start\n\nDebugBar is very easy to use and you can add it to any of your projects in no time.\nThe easiest way is using the `render()` functions\n\n```PHP\n\u003C?php\n\n\u002F\u002F Require the Composer autoloader, if not already loaded\nrequire 'vendor\u002Fautoload.php';\n\nuse DebugBar\\StandardDebugBar;\n\n$debugbar = new StandardDebugBar();\n$debugbarRenderer = $debugbar->getJavascriptRenderer();\n\n$debugbar[\"messages\"]->addMessage(\"hello world!\");\n?>\n\u003Chtml>\n    \u003Chead>\n        \u003C?php echo $debugbarRenderer->renderHead() ?>\n    \u003C\u002Fhead>\n    \u003Cbody>\n        ...\n        \u003C?php echo $debugbarRenderer->render() ?>\n    \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\nThe DebugBar uses DataCollectors to collect data from your PHP code. Some of them are\nautomated but others are manual. Use the `DebugBar` like an array where keys are the\ncollector names. In our previous example, we add a message to the `MessagesCollector`:\n\n```PHP\n$debugbar[\"messages\"]->addMessage(\"hello world!\");\n```\n\n`StandardDebugBar` activates the following collectors:\n\n - `MemoryCollector` (*memory*)\n - `MessagesCollector` (*messages*)\n - `PhpInfoCollector` (*php*)\n - `RequestDataCollector` (*request*)\n - `TimeDataCollector` (*time*)\n - `ExceptionsCollector` (*exceptions*)\n\nLearn more about DebugBar in the [docs](http:\u002F\u002Fphp-debugbar.com\u002Fdocs\u002F).\n\n## Demo\n\nTo run the demo, clone this repository and start the Built-In PHP webserver from the demo folder:\n\n```\ncomposer run demo\n```\n\nThen visit http:\u002F\u002Flocalhost:8000\u002F\n\n## Testing\n\nTo test, run `php vendor\u002Fbin\u002Fphpunit`. \nTo debug Browser tests, you can run `PANTHER_NO_HEADLESS=1 vendor\u002Fbin\u002Fphpunit --debug`. Run `vendor\u002Fbin\u002Fbdi detect drivers` to download the latest drivers.\n\n## Contributing\nWhen contributing to the JavaScript codebase:\n\n1. Run `npm run lint` and `npm run build` before committing \n2. Fix any errors (warnings are acceptable but should be minimized)\n3. Use `npm run lint:fix` for automatic fixes where possible\n4. Follow the ES6+ patterns established in the codebase\n\nWhen contributing to the PHP codebase:\n\n1. Run `composer check-style` and `composer analyse` before committing.\n2. Make sure the tests pass (see above)\n3. Verify that the demo works correctly (`php -S localhost:8000 demo\u002F`)\n","PHP Debug Bar 是一个用于 PHP 项目的调试工具，它在浏览器中显示一个调试栏，提供来自 PHP 的各种信息。其核心功能包括处理 AJAX 请求、支持常用库的数据收集器以及完全使用纯 JavaScript 编写的客户端界面，使得开发者可以轻松集成到任何项目中，并且能够创建自定义收集器及其关联视图。此外，该工具还允许保存和重新打开之前的请求记录，极大地方便了开发过程中的问题排查。适用于 PHP 应用程序的开发阶段，特别是在需要详细跟踪应用性能或查找错误时，但不建议部署于生产环境。",2,"2026-06-11 03:17:46","top_language"]