{"id":17190342,"url":"https://github.com/lode/debug-toolbar","last_synced_at":"2025-07-02T02:04:42.428Z","repository":{"id":51727402,"uuid":"98664170","full_name":"lode/debug-toolbar","owner":"lode","description":"An improvement a day keeps the doctor away","archived":false,"fork":false,"pushed_at":"2024-03-21T12:34:34.000Z","size":1179,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T00:33:30.323Z","etag":null,"topics":[],"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/lode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T15:43:10.000Z","updated_at":"2022-01-27T19:53:05.000Z","dependencies_parsed_at":"2024-03-21T13:42:39.690Z","dependency_job_id":"139ca12f-b77d-4023-bd3f-0387b41f37eb","html_url":"https://github.com/lode/debug-toolbar","commit_stats":{"total_commits":75,"total_committers":1,"mean_commits":75.0,"dds":0.0,"last_synced_commit":"3154b85e80ab18bde6f0aec3f6b67a096ad8f3d7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lode/debug-toolbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lode%2Fdebug-toolbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lode%2Fdebug-toolbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lode%2Fdebug-toolbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lode%2Fdebug-toolbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lode","download_url":"https://codeload.github.com/lode/debug-toolbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lode%2Fdebug-toolbar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263061404,"owners_count":23407606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-15T01:14:01.245Z","updated_at":"2025-07-02T02:04:42.403Z","avatar_url":"https://github.com/lode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# debug-toolbar\nAn improvement a day keeps the doctor away\n\n### Install\n\nVia composer:\n\n```\ncomposer require --dev \"alsvanzelf/debugtoolbar:dev-master\"\n```\n\n### Usage\n\n- Copy `demo/dist/` to a directory in your own application and serve it via the web.\n- Copy `demo/debug-display.php` to a directory in your own application and serve it via the web.\n- Setup a logger (i.e. [Monolog](https://github.com/Seldaek/monolog)) storing the results in a database.\n- Adjust your application's page rendering in between rendering and sending it to the browser:\n\t- to track data of the request: `$logId = Log::track($logger)`,\n\t- and add the toggler to the rendered body: `(new Toggler($logId))-\u003erender()`.\n- Optionally pass a `$scriptUrl` and `$displayUrl` to the `Toggler`'s constructor with the urls of the `dist` directory and `debug-display.php` copied before.\n- Adjust the `debug-display.php` to fetch the data from the database used by the logger.\n- When using PDO: call `PDOPart::trackExecutedStatement($statement, $binds)` after executing a PDO statement.\n- When using Twig: [setup it's profiler](https://twig.symfony.com/doc/2.x/api.html#profiler-extension) and call `TwigPart::trackProfiler($profiler)`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flode%2Fdebug-toolbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flode%2Fdebug-toolbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flode%2Fdebug-toolbar/lists"}