PHPackages                             mmockelyn/laravel-ovh-sms - 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. mmockelyn/laravel-ovh-sms

ActiveLibrary[API Development](/categories/api)

mmockelyn/laravel-ovh-sms
=========================

OVH SMS API integration for Laravel 7+.

1.0.1(3y ago)0105MITPHPPHP ^7.4|^8.0

Since Aug 11Pushed 3y agoCompare

[ Source](https://github.com/mmockelyn/laravel-ovh-sms)[ Packagist](https://packagist.org/packages/mmockelyn/laravel-ovh-sms)[ RSS](/packages/mmockelyn-laravel-ovh-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Laravel OVH SMS
===============

[](#laravel-ovh-sms)

This is an unofficial OVH SMS integration of the [ovh/php-ovh](https://github.com/ovh/php-ovh) library for Laravel 7+.

- Original [PHP OVH library](https://github.com/ovh/php-ovh/blob/master/README.md)
- Based on [Nexmo notification channel](https://github.com/laravel/nexmo-notification-channel)

Summary
-------

[](#summary)

- [Installation](#installation)
- [Configuration](#configuration)
- [Using with Laravel Notifications](#using-with-laravel-notifications)
    - [Example notification](#example-notification)
- [Getting credentials](#getting-credentials)
- [Support](#support)
- [Licence](#licence)

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

[](#installation)

Currently, this package isn't packaged with packagist (). You must add a private repository to your composer.json file in order to use this package. You can add private repository in your composer.json file by adding this section :

```
{
"repositories": [
    {
      "name": "orykami/laravel-ovh-sms",
      "type": "git",
      "url": "https://github.com/orykami/laravel-ovh-sms"
    }
  ]
}
```

Require this package with composer:

```
composer require orykami/laravel-ovh-sms
```

After updating composer, add the ServiceProvider to the **providers** array in config/app.php:

```
Illuminate\Notifications\OvhSmsChannelServiceProvider::class,
```

Configuration
-------------

[](#configuration)

This package require some configuration in `config/services.php`

```
return [
  // Add configuration to third party services
  'ovh' => [
    'app_key' => env('OVH_APP_KEY', 'YOUR_APP_KEY_HERE'),
    'app_secret' => env('OVH_APP_SECRET', 'YOUR_APP_SECRET_HERE'),
    'endpoint' => env('OVH_ENDPOINT', 'OVH_ENDPOINT_HERE'),
    'consumer_key' => env('OVH_CONSUMER_KEY', 'YOUR_CONSUMER_KEY_HERE'),
    'sms_account' => env('OVH_SMS_ACCOUNT', 'sms-xxxxxxx-x'),
    'sms_default_sender' => env('OVH_SMS_DEFAULT_SENDER', 'SENDER_NAME')),
    'sms_sandbox_mode' => env('OVH_SMS_SANDBOX_MODE', false)),
  ],
];
```

Using with Laravel Notifications
--------------------------------

[](#using-with-laravel-notifications)

This package can be used as a driver for Laravel Notifications (Laravel &gt;= 7.X).

### Example notification

[](#example-notification)

Here's a simple notification example.

```
namespace App\Notifications;

use Illuminate\Notifications\Channels\OvhSmsChannel;
use Illuminate\Notifications\Messages\OvhSmsMessage;
use Illuminate\Notifications\Notification;

class ExampleNotification extends Notification
{
    /**
     * Notification via OvhSmsChannel.
     */
    public function via($notifiable)
    {
        return [OvhSmsChannel::class];
    }

    /**
     * Your notification must implements "toOvh()"
     */
    public function toOvh($notifiable)
    {
    	return (new OvhSmsMessage('A new invoice was paid! Amount: $9.00'));
    }
}
```

Also, your Notifiable model must implements **routeNotificationForOvhSms()**.

```
namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use Notifiable;

    /**
     * Returns the user's phone number.
     */
    public function routeNotificationForOvhSms()
    {
        return $this->phone; // Ex: +33611223344
    }
}
```

You're all set to use the new Laravel Notifications system ! :-) Be aware that Channel method send will return OVH credits consumed (if needed for quotas/metrics).

Licence
-------

[](#licence)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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

Every ~0 days

Total

2

Last Release

1371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca2099d8f158327dfa9189c0eea099af94cd6ca506b80417e6546190358c1914?d=identicon)[mmockelyn](/maintainers/mmockelyn)

---

Top Contributors

[![orykami](https://avatars.githubusercontent.com/u/3338393?v=4)](https://github.com/orykami "orykami (21 commits)")[![helitik](https://avatars.githubusercontent.com/u/4394786?v=4)](https://github.com/helitik "helitik (3 commits)")[![mmockelyn](https://avatars.githubusercontent.com/u/8116032?v=4)](https://github.com/mmockelyn "mmockelyn (3 commits)")

---

Tags

apilaravelsmsovhlaravel8laravel9laravel7

### Embed Badge

![Health badge](/badges/mmockelyn-laravel-ovh-sms/health.svg)

```
[![Health](https://phpackages.com/badges/mmockelyn-laravel-ovh-sms/health.svg)](https://phpackages.com/packages/mmockelyn-laravel-ovh-sms)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)

PHPackages © 2026

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