{"id":16728209,"url":"https://github.com/grummfy/php-debugbar-clevercloud","last_synced_at":"2025-03-15T16:20:27.184Z","repository":{"id":62512987,"uuid":"100500028","full_name":"Grummfy/php-debugbar-clevercloud","owner":"Grummfy","description":"Adding information from instance running on clever cloud for the php debugbar","archived":false,"fork":false,"pushed_at":"2017-08-16T14:50:57.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T06:15:30.553Z","etag":null,"topics":["clevercloud","debugbar","php-debugbar"],"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/Grummfy.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-08-16T14:45:34.000Z","updated_at":"2017-08-16T14:46:50.000Z","dependencies_parsed_at":"2022-11-02T13:02:28.427Z","dependency_job_id":null,"html_url":"https://github.com/Grummfy/php-debugbar-clevercloud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grummfy%2Fphp-debugbar-clevercloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grummfy%2Fphp-debugbar-clevercloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grummfy%2Fphp-debugbar-clevercloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grummfy%2Fphp-debugbar-clevercloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Grummfy","download_url":"https://codeload.github.com/Grummfy/php-debugbar-clevercloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754484,"owners_count":20342658,"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":["clevercloud","debugbar","php-debugbar"],"created_at":"2024-10-12T23:09:06.002Z","updated_at":"2025-03-15T16:20:27.165Z","avatar_url":"https://github.com/Grummfy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Debug bar information about clever cloud instance\n\nAdding information from instance running on [clever cloud](https://www.clever-cloud.com) for the [php debugbar](http://phpdebugbar.com/).\n\n## Install \u0026 configuration\n\n```\ncomposer require --dev grummfy/php-debugbar-clevercloud\n```\n\nThen add to your debugbar :\n\n```\n$debugbar-\u003eaddCollector(new Grummfy\\DebugBar\\CleverCloudCollector());\n```\n\nYou can also say to hide some value by giving them to the debug bar:\n\n```\n$debugbar-\u003eaddCollector(new Grummfy\\DebugBar\\CleverCloudCollector(['APP_ID']));\n```\n\n### Integration to other debug bar\n\nOn any bar based on php-debugbar, it will be the same.\n\nAn example with [laravel](https://github.com/barryvdh/laravel-debugbar):\n\n```\nDebugbar::addCollector(new Grummfy\\DebugBar\\CleverCloudCollector());\n```\n\n### List of data exposed\n\n* APP_ID: the ID of the application.\n* INSTANCE_ID: the ID of the current instance (scaler) of your application.\n* INSTANCE_TYPE: The type of the instance (scaler).\n* COMMIT_ID: the commit ID used as a base to deploy your application.\n* APP_HOME: the absolute path of your application on the server.\n* INSTANCE_NUMBER: the number of this instances inside all the sacaler (if you got 3 scaler it can be a number between 0 to 2)\n\nMore information of [environment variables](https://www.clever-cloud.com/doc/admin-console/environment-variables/#special-environment-variables).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrummfy%2Fphp-debugbar-clevercloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrummfy%2Fphp-debugbar-clevercloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrummfy%2Fphp-debugbar-clevercloud/lists"}