PHPackages                             jeydo/php-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. jeydo/php-ovh-sms

ActiveLibrary[API Development](/categories/api)

jeydo/php-ovh-sms
=================

SDK for OVH SMS APIs

1.0(9y ago)0104BSD-3-ClausePHP

Since Apr 21Pushed 4y agoCompare

[ Source](https://github.com/jeydo/php-ovh-sms)[ Packagist](https://packagist.org/packages/jeydo/php-ovh-sms)[ RSS](/packages/jeydo-php-ovh-sms/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (0)

PHP OVH SMS
===========

[](#php-ovh-sms)

Send SMS directly from your code using OVH SMS offer.

```

```

Install
-------

[](#install)

To download this SDK and integrate it inside your PHP application, you can use [Composer](https://getcomposer.org).

Add the repository in your **composer.json** file or, if you don't already have this file, create it at the root of your project with this content:

```
{
    "name": "Example Application",
    "description": "This is an example of OVH SMS APIs SDK usage",
    "require": {
        "ovh/php-ovh-sms": "dev-master"
    }
}
```

Then, you can install OVH SMS APIs SDK and dependencies with:

```
php composer.phar install

```

This will install `ovh/php-ovh-sms` to `./vendor`, along with other dependencies including `autoload.php`.

Configure
---------

[](#configure)

To use this SDK, you'll need API credentials. API credentials allows you to log in and manage OVH products without ever storing your password.

Even better, the credentials can be configured to only allow access on some specific features. In this case, we only want the script to access the SMS features.

To generate credentials to access all the SMS features, you can simply visit [https://api.ovh.com/createToken/index.cgi?GET=/sms&amp;GET=/sms/\*&amp;PUT=/sms/\*&amp;DELETE=/sms/\*&amp;POST=/sms/](https://api.ovh.com/createToken/index.cgi?GET=/sms&GET=/sms/*&PUT=/sms/*&DELETE=/sms/*&POST=/sms/)\*

And then use the generated credentials in you application.

For more advanced use cases, please consult the [php-ovh](https://github.com/ovh/php-ovh) or [python-ovh](https://github.com/ovh/python-ovh) wrappers.

Send a test message without specifying a sender using php-ovh-sdk
-----------------------------------------------------------------

[](#send-a-test-message-without-specifying-a-sender-using-php-ovh-sdk)

This example will create a new SDK instance, configure it to send a message to a french number without declaring a sender (a random shortcode will be used). It will then use this instance to plan a message in the future using the first account it finds.

To avoid consuming any credit accidentally, it will delete the message before actually sending it.

```
https://api.ovh.com/createToken/index.cgi
```

Send a test message by using a beforehand declared sender
---------------------------------------------------------

[](#send-a-test-message-by-using-a-beforehand-declared-sender)

This example will create a new SDK instance, configure it to send a message. It will then use this instance to plan a message in the future using the first account it finds and the first sender it finds in the account as the message sender.

To avoid consuming any credit accidentally, it will delete the message before actually sending it.

```
https://api.ovh.com/createToken/index.cgi
```

Hacking
-------

[](#hacking)

**Get the code**:

```
$ git clone https://github.com/ovh/php-ovh-sms.git
$ cd php-ovh-sms

```

**Submit your changes**:

```
$ git commit -sam "change some feature because it makes my life easier"
$ git push

```

And visit Github to submit your change!

Related links
-------------

[](#related-links)

- **Order SMS credit**:
- **Get API credentials**:
- **Contribute**:
- **Report bugs**:
- **Official OVH PHP wrapper**:

Licence
-------

[](#licence)

[3-Clause BSD](https://github.com/ovh/php-ovh-sms/blob/master/LICENSE)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

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

Unknown

Total

1

Last Release

3641d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/707990?v=4)[jeydo](/maintainers/jeydo)[@jeydo](https://github.com/jeydo)

---

Top Contributors

[![Metrakit](https://avatars.githubusercontent.com/u/3305600?v=4)](https://github.com/Metrakit "Metrakit (8 commits)")[![dsferruzza](https://avatars.githubusercontent.com/u/1931963?v=4)](https://github.com/dsferruzza "dsferruzza (3 commits)")[![jeydo](https://avatars.githubusercontent.com/u/707990?v=4)](https://github.com/jeydo "jeydo (3 commits)")[![VincentCasse](https://avatars.githubusercontent.com/u/669893?v=4)](https://github.com/VincentCasse "VincentCasse (3 commits)")[![chindit](https://avatars.githubusercontent.com/u/2115451?v=4)](https://github.com/chindit "chindit (2 commits)")[![yadutaf](https://avatars.githubusercontent.com/u/739985?v=4)](https://github.com/yadutaf "yadutaf (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jeydo-php-ovh-sms/health.svg)

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

###  Alternatives

[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[ovh/php-ovh-sms

SDK for OVH SMS APIs

50287.7k2](/packages/ovh-php-ovh-sms)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)[tilleuls/ovh-bundle

OVH SDK integration

31137.9k](/packages/tilleuls-ovh-bundle)

PHPackages © 2026

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