The PHP API enables you to call CometChat functions directly from your PHP files. You can use the PHP API to send announcements, messages and more.

You must include the cometchat_init.php file in your PHP code e.g. `include_once(‘cometchat/cometchat_init.php’)`

Not finding what you need?

The CometChat team is here to help!