{"id":18771039,"url":"https://github.com/rareloop/lumberjack-debugbar","last_synced_at":"2025-04-13T07:32:18.443Z","repository":{"id":62533401,"uuid":"139893543","full_name":"Rareloop/lumberjack-debugbar","owner":"Rareloop","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-26T12:39:24.000Z","size":122,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T06:21:24.021Z","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/Rareloop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-05T19:47:04.000Z","updated_at":"2020-02-05T13:36:15.000Z","dependencies_parsed_at":"2022-11-02T14:46:39.951Z","dependency_job_id":null,"html_url":"https://github.com/Rareloop/lumberjack-debugbar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Flumberjack-debugbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Flumberjack-debugbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Flumberjack-debugbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Flumberjack-debugbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rareloop","download_url":"https://codeload.github.com/Rareloop/lumberjack-debugbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223574837,"owners_count":17167569,"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-11-07T19:22:58.437Z","updated_at":"2024-11-07T19:22:59.121Z","avatar_url":"https://github.com/Rareloop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lumberjack Debug Bar\n\n## Installation\n```\ncomposer require rareloop/lumberjack-debugbar\n```\n\nOnce installed, register the Service Provider in config/app.php within your theme:\n\n```php\n'providers' =\u003e [\n    ...\n\n    Rareloop\\Lumberjack\\DebugBar\\DebugBarServiceProvider::class,\n\n    ...\n],\n```\n\n## Usage\nThe DebugBar will only register when the `app.debug` config setting is `true`, which means it should never show on production environments.\n\n### Messages\nIn order to write to the Messages log you can use the `DebugBar` facade:\n\n```php\nuse Rareloop\\Lumberjack\\DebugBar\\Facades\\DebugBar;\n\nDebugBar::info('message');\nDebugBar::warning(123);\nDebugBar::error(['foo' =\u003e 'bar']);\n```\n\n### Timeline\nIn order to write to the Timeline log you can use the `DebugBar` facade:\n\n```php\nDebugBar::startMeasure('api-fetch', 'Time for API request');\nDebugBar::stopMeasure('api-fetch');\nDebugBar::addMeasure('now', microtime(true), microtime(true) + 10000);\nDebugBar::measure('My long operation', function() {\n    // Do something…\n});\n```\n\n### Logs\nThe logs tab will mirror anything that has been output to the Lumberjack logs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Flumberjack-debugbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frareloop%2Flumberjack-debugbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Flumberjack-debugbar/lists"}