Skip to content

PHP WhatsApp Library#

  • License GitHub release (latest by date)

PHP Library for integration with WhatsAPP messanger via API of green-api.com service. To use the library you have to get a registration token and an instance id in the console. For testing, we recommend using the free "Developer" plan.

API#

You can find REST API documentation by url. The library is a wrapper for REST API, so the documentation at the above url applies to the library as well.

Authorization#

To send a message or to execute some other Green-API method, you have to have the WhatsApp account in the phone application to be authorized. To authorize your instance please go to the console and scan a QR-code using the WhatsApp application.

Examples of using#

Service methods documentation#

License#

Licensed under Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).

Please see file LICENSE.