{"id":23895105,"url":"https://github.com/thatkalle/slack-slash-command-php","last_synced_at":"2026-05-09T16:38:24.793Z","repository":{"id":160705199,"uuid":"130268704","full_name":"ThatKalle/slack-slash-command-PHP","owner":"ThatKalle","description":"Drive Slack slash commands with PHP","archived":false,"fork":false,"pushed_at":"2018-04-19T20:34:38.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T15:51:27.845Z","etag":null,"topics":["php","slack","slash-commands"],"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/ThatKalle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-19T20:23:51.000Z","updated_at":"2022-08-24T13:29:13.000Z","dependencies_parsed_at":"2023-05-13T09:45:39.492Z","dependency_job_id":null,"html_url":"https://github.com/ThatKalle/slack-slash-command-PHP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatKalle%2Fslack-slash-command-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatKalle%2Fslack-slash-command-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatKalle%2Fslack-slash-command-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatKalle%2Fslack-slash-command-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatKalle","download_url":"https://codeload.github.com/ThatKalle/slack-slash-command-PHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240280989,"owners_count":19776418,"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":["php","slack","slash-commands"],"created_at":"2025-01-04T15:50:40.154Z","updated_at":"2025-10-11T05:34:55.455Z","avatar_url":"https://github.com/ThatKalle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-slash-command-PHP\n\nWant to run the Slack [Slash Commands](https://api.slack.com/slash-commands) in a no hassle PHP environment?\n\n### Installing\n\nFollow Slacks [instuctions](https://api.slack.com/slash-commands#setting_up_your_slash_command) as to get an App up and running who'll perform your slash commands.\n\nDeploy the 'bot' to, well, any PHP enabled webhost, the version of PHP needed will depend on what functions you decide to use. Go for atleast 5.4+.\n\n```\nsudo apt-get install git wget -y\ngit clone https://github.com/ThatKalle/slack-slash-command-PHP.git\ncp -r slack-slash-command-PHP/. /var/www/public_html\n```\n\nYou'll also have to update the `$valid_tokens` array in [config.php](/config.php) with your own **Verification Token** provided by Slack when creating your App. [link](https://api.slack.com/apps).\u003cbr\u003e\nYou can add multiple keys to authenticate the same bot to multiple Slacks _for example_.\n\nCreate a new Slash Command in Slack and point it to the .php file, for example https://FQDN/template to use [template.php](/template.php).\n\n#### Examples\n\n`/marvin lunch` will provide a list of local lunch restaurants, as well as a bonus on fridays! - [marvin.php](/example/marvin.php)\n\n![marvin](/example/marvin-example.jpg)\n\n`/at T12341212.1234` will provide handy links to open the corresponding Ticket or Task in Autotask PSA. - [at.php](/example/at.php)\n\n![at](/example/at-example.jpg)\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n\n* Hat tip to anyone who's code was used\n* [imlinus](https://github.com/imlinus)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatkalle%2Fslack-slash-command-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatkalle%2Fslack-slash-command-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatkalle%2Fslack-slash-command-php/lists"}