This is a sample source code for integrating ChatWork webhook, allowing you to receive and process messages from ChatWork using PHP code.
- PHP 7.0 or higher
- Composer (for managing PHP libraries)
-
Clone this repository to your machine:
-
Navigate to the source code directory:
-
Install PHP dependencies using Composer:
-
Configure the webhook in ChatWork and update the webhook URL in the source code.
- Start a web server (e.g., Apache or Nginx) to run this source code.
- Continue configuring the webhook in ChatWork to send messages to your webhook URL.
- When messages from ChatWork are sent, this source code will handle and respond automatically (depending on your logic).
You can customize the message handling logic in the index.php file to meet your specific requirements.
If you would like to contribute to this source code, please create a pull request on GitHub.
For any questions or feedback, feel free to contact us via email: vochilong.work@gmail.com
.
This source code is distributed under the MIT License.