{"id":19787532,"url":"https://github.com/svish/consolelog","last_synced_at":"2026-06-14T10:33:55.020Z","repository":{"id":56982986,"uuid":"84272991","full_name":"Svish/consolelog","owner":"Svish","description":"PHP class for logging variables to browser console via Chrome Logger protocol.","archived":false,"fork":false,"pushed_at":"2017-08-03T07:51:08.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T03:42:56.465Z","etag":null,"topics":["chrome-logger","console","debugging","logging","php","php-library"],"latest_commit_sha":null,"homepage":"http://www.chromelogger.com","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/Svish.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-03-08T03:14:17.000Z","updated_at":"2023-03-09T03:26:51.000Z","dependencies_parsed_at":"2022-08-21T08:40:35.774Z","dependency_job_id":null,"html_url":"https://github.com/Svish/consolelog","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svish%2Fconsolelog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svish%2Fconsolelog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svish%2Fconsolelog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svish%2Fconsolelog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Svish","download_url":"https://codeload.github.com/Svish/consolelog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241120269,"owners_count":19913033,"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":["chrome-logger","console","debugging","logging","php","php-library"],"created_at":"2024-11-12T06:23:33.784Z","updated_at":"2026-06-14T10:33:54.979Z","avatar_url":"https://github.com/Svish.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Overview\n===\n\n![Latest version](https://poser.pugx.org/geekality/consolelog/version?format=flat-square)\n![Downloads](https://poser.pugx.org/geekality/consolelog/downloads?format=flat-square)\n![License](https://poser.pugx.org/geekality/consolelog/license?format=flat-square)\n\n\nAllows easy server-side logging to browsers supporting the [Chrome Logger](http://www.chromelogger.com) protocol. Either native or via plugins.\n\n\nUsage\n===\n\n```php\nuse Geekality\\ConsoleLog;\n\nConsoleLog::info('Hello console!');\nConsoleLog::log($_SERVER);\nConsoleLog::warn('something is off with', $object);\nConsoleLog::error('fail');\n\nConsoleLog::table([\n\t['R1 C1', 'R1 C2'],\n\t['R2 C1', 'R2 C2'],\n\t]);\n\nConsoleLog::group('Group header');\nConsoleLog::log('Bar');\nConsoleLog::groupEnd();\n\n```\n\nSee more examples in [sample/index.php](sample/index.php).\n\n-------\n\n\nSource\n---\n\nBased on [ccampbell/chromephp](http://github.com/ccampbell/chromephp), but more or less a complete rewrite because I found that one hard to extend and adjust in my own project. 😟\n\nEnded up using newer PHP features and simplifying it a bit too, because that's how I roll.\n\nAlso called it `ConsoleLog` because I find it weird to use `Chrome` and `Php` in my code, when already writing PHP and I'm viewing the messages in the native Developer Console in FireFox... 🤔 🙂\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvish%2Fconsolelog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvish%2Fconsolelog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvish%2Fconsolelog/lists"}