PHPackages                             serv5group/whatscloudapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. serv5group/whatscloudapi

ActiveLibrary[API Development](/categories/api)

serv5group/whatscloudapi
========================

whatsapp api cloud

v1.0.0.0(2y ago)0161MITPHP

Since Nov 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/serv5group/whatscloudapi)[ Packagist](https://packagist.org/packages/serv5group/whatscloudapi)[ RSS](/packages/serv5group-whatscloudapi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

WhatsCloudApi
=============

[](#whatscloudapi)

A library used with the Laravel framework to enable you to send WhatsApp messages as well as deal with bulk messages and get WhatsApp qrcode and login using OTP and other things.

Installation
------------

[](#installation)

Install WhatsCloudApi with composer

```
composer require serv5group/whatscloudapi
```

Support
-------

[](#support)

- you can dependent on[ app.needbots.com](https://app.needbots.com/) for get token and instance .
- You must make sure that the phone number starts with 20. example 20101234576

Laravel env
-----------

[](#laravel-env)

```
  WHATSAPP_DOMAIN="https://app.needbots.com/api"
```

Usage/Examples
--------------

[](#usageexamples)

```
use serv5group\whatscloudapi\WebCloud;

class Examples
{

  /*
  * Create WhatsCloudApi new instance
  * @return WebCloud
  */
  public function connect()
  {
    $connect = WebCloud::accessToken("token")->setInstance("instanceId");
    return $connect;
  }

  /*
  * send whatsapp message
  * @return Void
  */
  public function sendMessage()
  {
    $response = $this->connect()->to("phone")->message("template")->send();
    if( $response->status == 'success' ){
      // The message was sent successfuly
    }else{
      \Log::error($response->message);
    }//@endif

  }

  /*
  * send whatsapp bulk message
  * @return Void
  */
  public function sendBulkMessage()
  {

    foreach ($contacts as $contact) {
      $response = $this->connect()->to("contact")->message("template")->send();

      if( $response->status == 'success' ){
      // The message was sent successfuly
      }else{
        \Log::error($response->message);
      }//@endif

    } //@endforeach

  }//@endfunction

  /*
  * send whatsapp message and media
  * @return Void
  */
  public function sendMessage()
  {
    $response = $this->connect()->to("phone")   ->message("template")->media("path")->send();
    if( $response->status == 'success' ){
      // The message was sent successfuly
    }else{
      \Log::error($response->message);
    }//@endif

  }

 /*
  * send whatsapp bulk message and attachments
  * @return Void
  */
  public function sendBulkMessage()
  {

    foreach ($contacts as $contact) {
      $response = $this->connect()->to("contact")->message("template")->media("path")->send();

      if( $response->status == 'success' ){
      // The message was sent successfuly
      }else{
        \Log::error($response->message);
      }//@endif

    } //@endforeach

  }//@endfunction

}
```

🛠 Skills
--------

[](#-skills)

PHP , LARAVEL

License
-------

[](#license)

[MIT](https://serv5.com)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07abece7d972a062313dda9f18f947406d9b47fbc40de77596a93d2373a90f30?d=identicon)[serv5group](/maintainers/serv5group)

---

Top Contributors

[![serv5group](https://avatars.githubusercontent.com/u/122719027?v=4)](https://github.com/serv5group "serv5group (11 commits)")[![mohamedServ5](https://avatars.githubusercontent.com/u/132254457?v=4)](https://github.com/mohamedServ5 "mohamedServ5 (10 commits)")

### Embed Badge

![Health badge](/badges/serv5group-whatscloudapi/health.svg)

```
[![Health](https://phpackages.com/badges/serv5group-whatscloudapi/health.svg)](https://phpackages.com/packages/serv5group-whatscloudapi)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
