{"id":16865694,"url":"https://github.com/jibbarth/php-slack-status-updater","last_synced_at":"2026-05-02T20:38:08.402Z","repository":{"id":62491881,"uuid":"367301840","full_name":"Jibbarth/php-slack-status-updater","owner":"Jibbarth","description":"Lazy CLI tool to update slack status","archived":false,"fork":false,"pushed_at":"2021-05-25T16:46:08.000Z","size":1853,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-10T22:35:20.743Z","etag":null,"topics":["phar","php","slack","slack-api","symfony"],"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/Jibbarth.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":"2021-05-14T08:39:59.000Z","updated_at":"2021-05-25T16:58:35.000Z","dependencies_parsed_at":"2022-11-02T11:16:00.940Z","dependency_job_id":null,"html_url":"https://github.com/Jibbarth/php-slack-status-updater","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/Jibbarth%2Fphp-slack-status-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibbarth%2Fphp-slack-status-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibbarth%2Fphp-slack-status-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibbarth%2Fphp-slack-status-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jibbarth","download_url":"https://codeload.github.com/Jibbarth/php-slack-status-updater/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332511,"owners_count":20921852,"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":["phar","php","slack","slack-api","symfony"],"created_at":"2024-10-13T14:48:10.612Z","updated_at":"2025-10-28T07:40:11.254Z","avatar_url":"https://github.com/Jibbarth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :technologist: Slack Status Updater\n\nIt's boring to manually click on slack, find how update emoji on status, or even add a custom message.\n\nAs you are lazy, you want a command line tool that can do this for you.\n\nThat's why I created this tool: \n\n![Demo](https://user-images.githubusercontent.com/3168281/119533907-9e0f4400-bd86-11eb-9f81-59a5422bf486.gif)\n\nLet's install it and explore how use it...\n\n### Installation\n\nMake sure you have PHP (\u003e=8.0) and Composer installed. Then\n\n```bash\ncomposer global require barth/php-slack-status-updater\n```\n\n\u003e You have to export in your path the global composer binary path\n\nOr you can find the latest phar in the [release tab](https://github.com/Jibbarth/php-slack-status-updater/releases)\n\n### Configuration\n\nYou have to create an app on slack with following scopes: \n\n* `users:write`\n* `users.profile:write`\n\nThen, install it into your slack workspace, and retrieve a token for your user.\n\nSave your token by launching the following command: \n\n```bash\nslack-status-updater auth\n```\n\n### How To Use\n\nTo manually change your status message or emoji, launch:\n\n```bash\nslack-status-updater update-status --message=\"Hello teams\" --emoji=wave\n```\n\u003e Note that message and emoji option are optionnal. \n\nThere is two dedicated script for the wakeup and shutdown. \n\n```bash\n# Mark you as active on slack\nslack-status-updater wakeup [--message=\"Hello teams\" --emoji=wave]\n\n# Mark you as absent on slack\nslack-status-updater shutdown [--message=\"See you later\" --emoji=zzz]\n```\n\n### Auto scripts\n\nIf you are really lazy, you can configure startup script and shutdown script to handle this for you.\n\nLaunch the following command:\n\n```bash\nslack-status-updater generate-script\n```\nAnd answer to the questions. If you leave blank for emoji, the script will use a random emoji :sparkles:  \n\n\u003e :warning: Currently, script generation only work for Linux. It register an autostart application in `~/.config/autostart/`. \n\u003e Need [freedesktop](https://specifications.freedesktop.org/desktop-entry-spec/latest/)\n\n### Contribute ?\n\nYou know how to generate auto script on windows on MacOs ? \nYou want improve the commands output ? \nAdd an awesome feature ? \n\nYou are more than welcome :hugs:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibbarth%2Fphp-slack-status-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjibbarth%2Fphp-slack-status-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibbarth%2Fphp-slack-status-updater/lists"}