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

ActiveLibrary[API Development](/categories/api)

francoisburdy/php-ovh-sms
=========================

SDK for OVH SMS APIs

1.0(9y ago)119.5k—0%BSD-3-ClausePHP

Since Apr 21Pushed 5y agoCompare

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

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

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

[](#php-ovh-sms)

Forked from [ovh/php-ovh-sms](https://github.com/ovh/php-ovh-sms) with Guzzle 7 support.

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": {
        "francoisburdy/php-ovh-sms": "dev-master"
    }
}
```

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

```
php composer.phar install

```

This will install `francoisburdy/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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

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

3597d ago

### Community

Maintainers

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

---

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)")[![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/francoisburdy-php-ovh-sms/health.svg)

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[ovh/php-ovh-sms

SDK for OVH SMS APIs

50281.1k2](/packages/ovh-php-ovh-sms)

PHPackages © 2026

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