{"id":28445116,"url":"https://github.com/wechaty/docker-php-wechaty-getting-started","last_synced_at":"2026-05-17T19:36:47.746Z","repository":{"id":102483443,"uuid":"431149765","full_name":"wechaty/docker-php-wechaty-getting-started","owner":"wechaty","description":"Getting Started Template for Docker Users","archived":false,"fork":false,"pushed_at":"2021-11-30T08:09:40.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-29T20:39:12.986Z","etag":null,"topics":["chatbot","docker","php-wechaty","wechaty"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wechaty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-11-23T15:18:19.000Z","updated_at":"2023-02-21T05:53:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"de23e63f-0741-4ca1-a9f7-a91b7770b2fa","html_url":"https://github.com/wechaty/docker-php-wechaty-getting-started","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wechaty/docker-php-wechaty-getting-started","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fdocker-php-wechaty-getting-started","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fdocker-php-wechaty-getting-started/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fdocker-php-wechaty-getting-started/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fdocker-php-wechaty-getting-started/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechaty","download_url":"https://codeload.github.com/wechaty/docker-php-wechaty-getting-started/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fdocker-php-wechaty-getting-started/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012181,"owners_count":26085078,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chatbot","docker","php-wechaty","wechaty"],"created_at":"2025-06-06T10:11:22.457Z","updated_at":"2025-10-12T17:11:08.262Z","avatar_url":"https://github.com/wechaty.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOCKER-PHP-WECHATY-GETTING-STARTED\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-blue.svg)](https://github.com/wechaty/wechaty)\n[![Docker Pulls](https://img.shields.io/docker/pulls/phpwechaty/php-wechaty.svg?maxAge=2592000)](https://hub.docker.com/r/phpwechaty/php-wechaty/)\n[![Docker Stars](https://img.shields.io/docker/stars/phpwechaty/php-wechaty.svg?maxAge=2592000)](https://hub.docker.com/r/phpwechaty/php-wechaty/)\n[![Docker CI](https://github.com/wechaty/docker-php-wechaty-getting-started/actions/workflows/docker.yml/badge.svg)](https://github.com/wechaty/docker-wechaty-getting-started/actions/workflows/docker.yml)\n[![PHP Wechaty](https://img.shields.io/badge/wechaty-php--wechaty-blue.svg)](https://github.com/wechaty/php-wechaty)\n\n[![dockeri.co](http://dockeri.co/image/phpwechaty/php-wechaty)](https://hub.docker.com/r/phpwechaty/php-wechaty/)\n\nGetting Started Template for Docker Users\n\n## FEATURES\n\n1. PHP Wechaty is fully dockerized. So it will be very easy to be used as a MicroService.\n1. Clone this repository, then you will be able to use Docker to run PHP Wechaty with ZERO configuration.\n\n## REQUIREMENTS\n\n1. Docker\n1. Global Internet Connection\n\n## USAGE\n\n### Run Bot Examples\n\n#### 1. Run PHP Example with no tls\n\nSource code at `examples/ding-dong-bot.php`\n\n```shell\n./quick_start.sh\n```\n\n#### 2. Run PHP Example with tls\n\nSource code at `examples/ding-dong-bot.php`\n\n```shell\n./quick_start_tls.sh\n```\n\n#### 3. Run PHP Example with docker-compose and no tls\n\nSource code at `examples/ding-dong-bot.php`\n\n```shell\n./docker-compse-start.sh\n```\n\n#### 4. Run PHP Example with docker-compose and tls\n\nSource code at `examples/ding-dong-bot.php`\n\n```shell\n./docker-compse-start-tls.sh\n```\n\n#### New environment variables\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n1. `WECHATY_PUPPET_SERVICE_TLS_CA_CERT`: can be overwrite by `options.tlsRootCert`. Set Root CA Cert to verify the server or client.\n\nFor Puppet Server:\n\n| Environment Variable | Options | Description |\n| -------------------- | ------- | ----------- |\n| `WECHATY_PUPPET_SERVICE_TLS_SERVER_CERT` | `options.tls.serverCert` | Server CA Cert (string data) |\n| `WECHATY_PUPPET_SERVICE_TLS_SERVER_KEY` | `options.tls.serverKey` | Server CA Key (string data) |\n| `WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_SERVER` | `options.tls.disable` | Set `true` to disable server TLS |\n\nFor Puppet Client:\n\n| Environment Variable | Options | Description |\n| -------------------- | ------- | ----------- |\n| `WECHATY_PUPPET_SERVICE_AUTHORITY` | `options.authority` | Service discovery host, default: `api.chatie.io` |\n| `WECHATY_PUPPET_SERVICE_TLS_CA_CERT` | `options.caCert` | Certification Authority Root Cert, default is using Wechaty Community root cert |\n| `WECHATY_PUPPET_SERVICE_TLS_SERVER_NAME` | `options.serverName` | Server Name (mast match for SNI) |\n| `WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT` | `options.tls.disable` | Set `true` to disable client TLS |\n\n\u003e Learn more about tls at https://github.com/wechaty/puppet-service\n\n## DOCKER\n\n### Install Docker\n\nQuick \u0026 easy install Docker via:\n\n```shell\ncurl -sSL https://get.docker.com | sh\n```\n\nOr\n\n```shell\nwget -qO- https://get.docker.com/ | sh\n```\n\nGet to know more about Docker at: \u003chttps://www.docker.com/\u003e\n\n## TEST\n\nBATS: [HOW TO USE BATS TO TEST YOUR COMMAND LINE TOOLS](https://www.engineyard.com/blog/bats-test-command-line-tools)\n\n## SEE ALSO\n\n1. PHP Wechaty Getting Started: \u003chttps://github.com/wechaty/php-wechaty-getting-started\u003e\n\n## HISTORY\n\n### v0.1 (Nov 23, 2021)\n\nInit docker support.\n\n## AUTHOR\n\n[@zhangchunsheng](https://github.com/zhangchunsheng) - Chunsheng Zhang (张春生)\n\n## COPYRIGHT \u0026 LICENSE\n\n- Code \u0026 Docs © 2021-now Chunsheng Zhang \\\u003czhangchunsheng423@gmail.com\\\u003e\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fdocker-php-wechaty-getting-started","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechaty%2Fdocker-php-wechaty-getting-started","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fdocker-php-wechaty-getting-started/lists"}