PHPackages                             jlaso/ovh-domain-api - 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. jlaso/ovh-domain-api

ActiveModule

jlaso/ovh-domain-api
====================

Client API for ovh.com domain functions

91262PHP

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jlaso/ovh-domain-api)[ Packagist](https://packagist.org/packages/jlaso/ovh-domain-api)[ RSS](/packages/jlaso-ovh-domain-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/c813528a7b866cf400fc262c15e5b1cea1aab78d53d2ad09d47f29ce6a4d972b/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f6f76682d646f6d61696e2d6170692f762f737461626c652e706e67)](https://packagist.org/packages/jlaso/ovh-domain-api)[![Total Downloads](https://camo.githubusercontent.com/767dcf29c053df4c45f9a53a241c7258bd0a3d10bb874ddd43f443ff69550382/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f6f76682d646f6d61696e2d6170692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/jlaso/ovh-domain-api)

Overview
========

[](#overview)

This module permits comunication with ovh.com API

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

[](#installation)

Checkout a copy of the code::

```
// in composer.json
"require": {
    // ...
    "jlaso/ovh-domain-api": "*"
    // ...
}
// ..

```

Use of the API in your developments
-----------------------------------

[](#use-of-the-api-in-your-developments)

```
use JLaso\OvhDomainApi\Service\OvhApi;

$ovhUser = "xxxxx-ovh";
$ovhPass = "123456";
define("SANDBOX_MODE", true);
$locale = "en";

$ovhApi = new OvhApi($ovhUser, $ovhPass, SANDBOX_MODE, $locale);

/*
 * To register a new domain
 */
$ovhApi->registerDomain("example.com", $ovhUser);

/**
 * To check if a domain it's Available
 */
$isAvailable = $ovhApi->isAvailable("example.com");

print ($isAvailable ? 'The domain is AVAILABLE' : 'The Domain is UNAVAILABLE');

/**
 * To create an [ownerId](http://www.ovh.com/soapi/en/?method=nicCreate) (individual)
 * to register domains in this account
 */
$ownerId = $ovhApi->createOwnerId(new OwnerDomain(
    'email@example.com',
    'My Name',
    'My LastName',
    'mypassword1234',
    'My Address',
    'My Area',
    'My City',
    'My Country',
    'My Zip Code',
    'My-Phone-Number',
    'My-fax-or-null'
));

$ovhApi->registerDomain('example.com', $ownerId);
```

You can see the SimpleSample in the Example folder.

More information in the page of [ovh](http://www.ovh.com/soapi/en/)
===================================================================

[](#more-information-in-the-page-of-ovh)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f19216fd9d91bd7cfff14362e2ddb5728bd2d8f50d2e0174626fc61510ed33b?d=identicon)[jlaso](/maintainers/jlaso)

---

Top Contributors

[![jlaso](https://avatars.githubusercontent.com/u/1332197?v=4)](https://github.com/jlaso "jlaso (20 commits)")

### Embed Badge

![Health badge](/badges/jlaso-ovh-domain-api/health.svg)

```
[![Health](https://phpackages.com/badges/jlaso-ovh-domain-api/health.svg)](https://phpackages.com/packages/jlaso-ovh-domain-api)
```

PHPackages © 2026

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