{"id":20770588,"url":"https://github.com/codemonauts/craft-healthz","last_synced_at":"2025-04-30T13:50:25.968Z","repository":{"id":56955448,"uuid":"175222537","full_name":"codemonauts/craft-healthz","owner":"codemonauts","description":"Craft CMS module to answer healthz checks","archived":false,"fork":false,"pushed_at":"2019-04-04T09:57:54.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T16:39:26.385Z","etag":null,"topics":["cms","craft","craftcms","healthz","plugin"],"latest_commit_sha":null,"homepage":"","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/codemonauts.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":"2019-03-12T13:57:45.000Z","updated_at":"2023-12-11T03:05:44.000Z","dependencies_parsed_at":"2022-08-21T08:50:35.337Z","dependency_job_id":null,"html_url":"https://github.com/codemonauts/craft-healthz","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/codemonauts%2Fcraft-healthz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcraft-healthz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcraft-healthz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcraft-healthz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonauts","download_url":"https://codeload.github.com/codemonauts/craft-healthz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251714780,"owners_count":21631783,"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":["cms","craft","craftcms","healthz","plugin"],"created_at":"2024-11-17T12:10:42.023Z","updated_at":"2025-04-30T13:50:25.927Z","avatar_url":"https://github.com/codemonauts.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Healthz module for Craft CMS 3.x\n\n![Icon](resources/healthz.png)\n\nA really basic healthz check module for Craft CMS.\n\n## Background\n\nIf you running your Craft CMS servers behind a loadbalancer or you are monitoring your site with an external monitoring tools, you need an endpoint which\n\n* answers early and doesn't walk through the whole stack\n* answers with an 200 Ok even when a migration is waiting\n* checks if the connection to the database and cache is available\n\n## Requirements\n\n* Craft CMS \u003e= 3.0.0\n\n## Installation\n\n```shell\ncd /path/to/project\ncomposer require codemonauts/craft-healthz\n```\n\nThen add the module to the ```app.php``` in your Craft config directory like this:\n\n```php\n\u003c?php\nreturn [\n    // ...\n    'modules' =\u003e [\n        // ...\n        'healthz' =\u003e codemonauts\\healthz\\Healthz::class,\n    ],\n    'bootstrap' =\u003e ['healthz'],\n];\n```\n\n## Usage\n\nThe endpoint for your monitoring system or loadbalancer is\n\n```http(s)://yoursite.com/healthz```\n\nThe script answers with ```200 Ok``` or ```503 Not Ok```\n\nWith ❤ by [codemonauts](https://codemonauts.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fcraft-healthz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonauts%2Fcraft-healthz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fcraft-healthz/lists"}