{"id":16810239,"url":"https://github.com/tessus/valkey-stats","last_synced_at":"2025-07-15T16:30:49.140Z","repository":{"id":245223004,"uuid":"815755822","full_name":"tessus/valkey-stats","owner":"tessus","description":"A lightweight dashboard to show statistics about a Valkey/Redis server. ","archived":false,"fork":false,"pushed_at":"2024-10-27T19:44:01.000Z","size":119,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T06:35:07.797Z","etag":null,"topics":["dashboard","php","redis","redis-stats","statistics","valkey","valkey-stats"],"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/tessus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"tessus","liberapay":"tessarek"}},"created_at":"2024-06-16T03:54:46.000Z","updated_at":"2025-04-02T16:00:15.000Z","dependencies_parsed_at":"2024-06-20T16:59:09.557Z","dependency_job_id":"2c0e8cca-9c37-4121-b950-e63cb019a8d8","html_url":"https://github.com/tessus/valkey-stats","commit_stats":null,"previous_names":["tessus/valkey-stats"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tessus/valkey-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fvalkey-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fvalkey-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fvalkey-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fvalkey-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tessus","download_url":"https://codeload.github.com/tessus/valkey-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fvalkey-stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445302,"owners_count":23766445,"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":["dashboard","php","redis","redis-stats","statistics","valkey","valkey-stats"],"created_at":"2024-10-13T10:14:52.694Z","updated_at":"2025-07-15T16:30:48.719Z","avatar_url":"https://github.com/tessus.png","language":"PHP","funding_links":["https://github.com/sponsors/tessus","https://liberapay.com/tessarek"],"categories":[],"sub_categories":[],"readme":"# valkey-stats\n\n## Features\n\n- lightweight\n- no PHP valkey/redis module required\n- connection via IP/port or socket\n- password support (including Valkey/Redis 6 ACLs)\n- show details\n- flush database (async support)\n- flush instance (async support)\n- command mapping support (when rename-command is used on the server)\n- auto refresh\n- check for update\n\n## Installation\n\n```\ngit clone --depth 1 https://github.com/tessus/valkey-stats.git\ncd valkey-stats\ncp config.template.php config.php\n```\n\n## Configuration\n\n### Server information\n\nServers are defined as an array. There are a few examples in the `config.template.php` file.\n\nField     | Type          | Description\n----------|---------------|------------------------------------------------------------------\nName      | string        | name shown in drop-down list (also used for command mapping)\nIP/Socket | string        | IP address or socket (`unix://`) of the server\nPort      | integer       | port of server, use -1 for socket\nPassword  | string, array | credentials for the server (optional)\u003cbr\u003estring: `password`\u003cbr\u003earray: `['user', 'password']` for Valkey/Redis ACLs\n\ne.g.:\n\n```\n$servers = [\n\t[ 'Local', '127.0.0.1', 6379 ],\n\t[ 'Local socket', 'unix:///var/run/valkey.sock', -1 ],\n\t[ 'Local with password', '127.0.0.1', 6379, 'password_here' ],\n\t[ 'Local with user and password', '127.0.0.1', 6379, ['username', 'password_here'] ],\n];\n```\n\n### Misc options\n\nName             | Default   | Description\n-----------------|-----------|---------------------------------------------------------------\nFLUSHDB          | true      | Show a 'Flush' button for databases\nCONFIRM_FLUSHDB  | true      | Ask for confirmation before flushing database\nFLUSHALL         | true      | Show a 'Flush All' button for the instance\nCONFIRM_FLUSHALL | true      | Ask for confirmation before flushing the entire instance\nSTATUS_LINE      | \"bottom\"  | Position of status line: \"bottom\" or \"top\"\nCHECK_FOR_UPDATE | true      | Show a 'Check for update' button\nDEBUG            | false     | debug mode - you don't want to set this to true!\n\n### Command mapping\n\nIn case commands have been renamed on the server, there's support to map these commands in the config file.\n\ne.g.:\n\n```\n$command = [\n\t'Local'    =\u003e [         // must be a server name (first field in server array, name shown in drop-down list)\n\t\t'FLUSHDB'  =\u003e 'fdb-5dea06694ff64',\n\t\t'FLUSHALL' =\u003e 'fa-5dea067c9bbd6',\n\t\t'AUTH'     =\u003e '',\n\t\t'INFO'     =\u003e '',\n\t],\n];\n```\n\n## Screenshot\n\n![](https://evermeet.cx/pub/img/valkey-stats.png)\n\n## Acknowledgements\n\nI found the original script at https://gist.github.com/kabel/10023961\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fvalkey-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftessus%2Fvalkey-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fvalkey-stats/lists"}