PHPackages                             sevenspan/laravel-value-first - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. sevenspan/laravel-value-first

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

sevenspan/laravel-value-first
=============================

It uses ValueFirst API to send whatsapp messages.

v3.3(2y ago)21.7k1[1 issues](https://github.com/7span/laravel-valuefirst/issues)[1 PRs](https://github.com/7span/laravel-valuefirst/pulls)MITPHPPHP ^7.2.5||^8.0||^8.1||^8.2

Since Nov 9Pushed 1y ago2 watchersCompare

[ Source](https://github.com/7span/laravel-valuefirst)[ Packagist](https://packagist.org/packages/sevenspan/laravel-value-first)[ Docs](https://github.com/7span/laravel-valuefirst)[ RSS](/packages/sevenspan-laravel-value-first/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (12)Used By (0)

Laravel ValueFirst
==================

[](#laravel-valuefirst)

It uses ValueFirst API to send whatsapp messages.

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

[](#installation)

You can install the package via composer:

```
composer require sevenspan/laravel-value-first
```

You can publish the config file with:

```
php artisan vendor:publish --provider="SevenSpan\ValueFirst\Providers\ValueFirstServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [

    /*
    |--------------------------------------------------------------------------
    | ValueFirst Whatsapp API URI
    |--------------------------------------------------------------------------
    |
    | The ValueFirst Whatsapp Message API URI.
    |
    */

    'api_uri' => env('VALUEFIRST_API_URI',''),

    /*
    |--------------------------------------------------------------------------
    | From Number
    |--------------------------------------------------------------------------
    |
    | The Phone number registered with ValueFirst that your SMS will come from
    |
    */

    'from' => env('VALUEFIRST_FROM',''),

    /*
    |--------------------------------------------------------------------------
    | Username
    |--------------------------------------------------------------------------
    |
    | Your ValueFirst Username
    |
    */

    'username' =>  env('VALUEFIRST_USERNAME',''),

    /*
    |--------------------------------------------------------------------------
    | Password
    |--------------------------------------------------------------------------
    |
    | Your ValueFirst Password
    |
    */

    'password' =>  env('VALUEFIRST_PASSWORD',''),
];
```

Usage
-----

[](#usage)

For sending whatsapp text messages

```
use ValueFirst;

$to ='9111111111'; // Phone number with country code where we want to send message(Required)
$message ='Hello'; // Message that we want to send(Required)
$tag = 'Whatsapp Message';  //Tag if you want to assign (Optional)

// Without passing tag
$response=ValueFirst::sendMessage($to,$message);

// With passing tag
$response=ValueFirst::sendMessage($to,$message,$tag);
```

For sending whatsApp text messages using template ID

```
use ValueFirst;

$to ='9111111111'; // Phone number with country code where we want to send message(Required)
$templateId = "123"; //Approved template ID by ValueFirst
$data = []; // Array of data to replace template data with dynamic one
$tag = 'Whatsapp Message';  //Tag if you want to assign (Optional)

// Without passing tag
$response=ValueFirst::sendTemplateMessage($to,$templateId,$data);

// With passing tag
$response=ValueFirst::sendTemplateMessage($to,$templateId,$data,$tag);
```

> Note : While sending whatsapp message with template ID, array of data should be in sequence of template dynamic value.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Hemratna Bhimani](https://github.com/hemratna)
- [Urvashi Thakar](https://github.com/UrvashiThakar)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~174 days

Total

7

Last Release

1017d ago

Major Versions

v1.1.0 → v3.02022-03-23

PHP version history (4 changes)v2.0PHP ^7.2.5

v3.0PHP ^7.2.5||^8.0

v3.2PHP ^7.2.5||^8.0||^8.1

v3.3PHP ^7.2.5||^8.0||^8.1||^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/08bf8e5911bd55b6328d8e1a32c786000dc7023bc741cbad255a2625ed91a75b?d=identicon)[hemratna](/maintainers/hemratna)

---

Top Contributors

[![hemratna](https://avatars.githubusercontent.com/u/1333346?v=4)](https://github.com/hemratna "hemratna (8 commits)")[![kajal-7span](https://avatars.githubusercontent.com/u/107455736?v=4)](https://github.com/kajal-7span "kajal-7span (8 commits)")[![binal-7span](https://avatars.githubusercontent.com/u/19200178?v=4)](https://github.com/binal-7span "binal-7span (3 commits)")[![darshandomadiya7022](https://avatars.githubusercontent.com/u/68939452?v=4)](https://github.com/darshandomadiya7022 "darshandomadiya7022 (1 commits)")[![trushal-7span](https://avatars.githubusercontent.com/u/102795093?v=4)](https://github.com/trushal-7span "trushal-7span (1 commits)")[![urvashi-7span](https://avatars.githubusercontent.com/u/50007336?v=4)](https://github.com/urvashi-7span "urvashi-7span (1 commits)")

---

Tags

laravellaravel-valuefirstlaravel-value-firstvaluefirstvalue-first

### Embed Badge

![Health badge](/badges/sevenspan-laravel-value-first/health.svg)

```
[![Health](https://phpackages.com/badges/sevenspan-laravel-value-first/health.svg)](https://phpackages.com/packages/sevenspan-laravel-value-first)
```

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

319270.8k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10049.3k](/packages/coreproc-nova-notification-feed)[matthewbdaly/laravel-sms

A Laravel and Lumen integration for matthewbdaly/sms-client to enable sending SMS messages

3529.8k](/packages/matthewbdaly-laravel-sms)[ashallendesign/laravel-mailboxlayer

A lightweight Laravel package for validating emails using the Mailbox Layer API.

772.2k](/packages/ashallendesign-laravel-mailboxlayer)

PHPackages © 2026

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