Download the PHP package ultramsg/whatsapp-php-sdk without Composer

On this page you can find all versions of the php package ultramsg/whatsapp-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
ultramsg/whatsapp-php-sdk
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package whatsapp-php-sdk

Ultramsg.com WhatsApp API PHP SDK

Lightweight PHP library for WhatsApp API to send the whatsappp messages in PHP provided by Ultramsg.com

Installation

Just download ultramsg.class.php or use Composer:

Example usage

NOTE: you need replace instance_id and token with yours in ultramsg.com account if you don't have account create one from here

Youtube

Send Message by WhatsApp api using PHP SDK | Ultramsg PHP SDK

Send Message

You can use it to create a professional queue for messages, The Messages with less priority value are sent first.

example of usage :

priority = 0: for High priority like OTP messages.

priority = 5: used with general messages.

priority =10: Non-urgent promotional offers and notifications to your customers.

Default value : 10

Send Image

Supported extensions ( jpg , jpeg , gif , png , svg , webp , bmp ) .

Max file size : 16MB .

Max Base64 length : 10,000,000

false : use a previously uploaded file instead of uploading it with each request

true : uploading it each request

Send Sticker

Supported extensions ( jpg , jpeg , gif , png , svg , webp , bmp ) .

Max file size : 16MB .

Max Base64 length : 10,000,000

false : use a previously uploaded file instead of uploading it with each request

true : uploading it each request

Send Document

Supported most extensions like ( zip , xlsx , csv , txt , pptx , docx ....etc ) .

Max file size : 100MB .

Max Base64 length : 10,000,000

Send Audio

Supported extensions ( mp3 , aac , ogg ) .

Max file size : 16MB .

Max Base64 length : 10,000,000

Send Voice

Max file size : 16MB .

Max Base64 length : 10,000,000

Send Video

Supported extensions ( mp4 , 3gp , mov ) .

Max file size : 16MB .

Max Base64 length : 10,000,000

Send Link

Send Contact

Example

[email protected]

or

[email protected],[email protected],[email protected]

Max length : 300 char, almost 15 contacts

Send Location

Supports two lines. To use two lines, use the \n symbol.

Max length : 300 char .

Send Vcard

Max length : 4096 char

Resend messages by status

Resend message by ID

Get Messages

get the messages that sent by api

Get Messages Statistics

Get Instance Status

Get Instance QR Image

Get Instance QR Code

Get Instance Info

Get connected phone informations : number , name , image etc..

Get Instance Settings

sendDelay : Delay in seconds between sending message, Default 1 second

webhook_url : Http or https URL for receiving notifications .

webhook_message_ack : on/off ack (message delivered and message viewed) notifications in webhooks.

webhook_message_received : on/off notifications in webhooks when message received .

webhook_message_create : on/off notifications in webhooks when message create .

webhook_message_download_media : on/off to get received document / media files.

Instance Takeover

Returns the active session if the device has connected to another instance of Web WhatsApp

Instance Logout

Logout from WhatsApp Web to get new QR code.

Instance Restart

Restart your instance.

Instance Settings Update

Get the chats list

get last message from chat conversation

max value : 1000 .

Get the contacts list

Get contact info

Gets all blocked contacts

block contact from WhatsApp

Unblock contact from WhatsApp

Check if number is WhatsApp user

Support

Use Issues to contact me


All versions of whatsapp-php-sdk with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ultramsg/whatsapp-php-sdk contains the following files

Loading the files please wait ....