{"id":20450431,"url":"https://github.com/daun/laravel-uptime-ping","last_synced_at":"2026-02-27T18:02:48.241Z","repository":{"id":261961741,"uuid":"885839356","full_name":"daun/laravel-uptime-ping","owner":"daun","description":"Ping an endpoint regularly to monitor uptime and system status","archived":false,"fork":false,"pushed_at":"2025-03-06T19:37:02.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T03:05:56.174Z","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/daun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2024-11-09T14:32:50.000Z","updated_at":"2025-03-06T19:37:05.000Z","dependencies_parsed_at":"2024-11-09T15:31:49.821Z","dependency_job_id":"121d6110-c4b7-4369-b920-f158397fd95e","html_url":"https://github.com/daun/laravel-uptime-ping","commit_stats":null,"previous_names":["daun/laravel-uptime-ping"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/daun/laravel-uptime-ping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Flaravel-uptime-ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Flaravel-uptime-ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Flaravel-uptime-ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Flaravel-uptime-ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daun","download_url":"https://codeload.github.com/daun/laravel-uptime-ping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Flaravel-uptime-ping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29907346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-15T10:53:01.286Z","updated_at":"2026-02-27T18:02:48.217Z","avatar_url":"https://github.com/daun.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📡  Laravel Uptime Ping\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/daun/laravel-uptime-ping.svg)](https://packagist.org/packages/daun/laravel-uptime-ping)\n[![Test Status](https://img.shields.io/github/actions/workflow/status/daun/laravel-uptime-ping/ci.yml?label=tests)](https://github.com/daun/laravel-uptime-ping/actions/workflows/ci.yml)\n[![Code Coverage](https://img.shields.io/codecov/c/github/daun/laravel-uptime-ping)](https://app.codecov.io/gh/daun/laravel-uptime-ping)\n[![License](https://img.shields.io/github/license/daun/laravel-uptime-ping.svg)](https://github.com/daun/laravel-uptime-ping/blob/master/LICENSE)\n\nA **dead man's switch** for Laravel apps that **regularly pings an endpoint** to confirm the site is\nup and its task scheduler is processing important jobs, such as backups and notifications. A missed\nping indicates issues with the job queue.\n\nUseful with health monitors like [Uptime Kuma](https://uptime.kuma.pet/).\n\n## Installation\n\nInstall the package via composer:\n\n```bash\ncomposer require daun/laravel-uptime-ping\n```\n\n## How it works\n\nAn **uptime ping sent from within the job queue** is the most reliable method for detecting a broken\njob queue. While your site may be running, a misconfigured cron job might prevent your backups and\nnotifications from being processed. A standard health check wouldn't necessarily identify this issue.\n\nThe package will send a GET request to your configured endpoint every minute. This way, you'll know\nimmediately if the site goes down or the job queue stops processing items.\n\n## Basic setup\n\nDefine the URL to ping in your `.env` file. For more customization, see below.\n\n```bash\nUPTIME_PING_URL=\"https://uptime.kuma.instance/api/push/xxxxxxxxxx?status=up\u0026msg=OK\u0026ping=\"\n```\n\n## Configuration\n\nTo change the frequency of pings, request method, timeout, number of retries, or add custom headers,\npublish and adjust the config file by running `php artisan vendor:publish --tag=uptime-ping-config`.\nAdjust any settings in `config/uptime-ping.php`.\n\n```php\nreturn [\n\n    /*\n    | The URL to ping. If this is not set, the job will not run.\n    */\n\n    'url' =\u003e env('UPTIME_PING_URL', null),\n\n    /*\n    | The frequency at which to ping the URL, in crontab syntax. @see https://crontab.guru for help\n    */\n\n    'cron' =\u003e env('UPTIME_PING_CRON', '* * * * *'),\n\n    /*\n    | The HTTP method to use when pinging the URL.\n    */\n\n    'method' =\u003e env('UPTIME_PING_METHOD', 'GET'),\n\n    /*\n    | The number of retries to attempt before failing.\n    */\n\n    'retries' =\u003e 3,\n\n    /*\n    | The timeout in seconds before failing.\n    */\n\n    'timeout' =\u003e 3,\n\n    /*\n    | Additional headers to send with the request.\n    */\n\n    'headers' =\u003e [\n        // 'User-Agent' =\u003e 'Laravel Uptime Ping',\n    ],\n\n];\n\n```\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaun%2Flaravel-uptime-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaun%2Flaravel-uptime-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaun%2Flaravel-uptime-ping/lists"}