PHPackages                             gdarquie/moselle-php - 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. gdarquie/moselle-php

ActiveLibrary

gdarquie/moselle-php
====================

SDK for BT open APIs

01.1kPHP

Since Jul 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/BboxLab/openapi-moselle)[ Packagist](https://packagist.org/packages/gdarquie/moselle-php)[ RSS](/packages/gdarquie-moselle-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Mosel, a sdk package for BT open APIs
=====================================

[](#mosel-a-sdk-package-for-bt-open-apis)

This package is still under construction (july 13th 2022).

Open Api are described in the Bouygues Telecom Developer Portal:

Install
-------

[](#install)

```
composer require bboxlab/mosel

```

List of API and tools in Open API SDK
-------------------------------------

[](#list-of-api-and-tools-in-open-api-sdk)

- authenticator for app credentials Oauth flow
- check email address
- check iban
- check portability

How to use?
-----------

[](#how-to-use)

First, install the package on your php application with composer.

Then, create a Sdk Mosel Object with a credentials and a mosel configuration.

```
$configuration = new Configuration();
[...]
$sdk = new Sdk('clientId', 'secretId', $configuration);
```

You can use a preexisting configuration, here for the default bt env configuration.

```
$sdk = new Sdk('clientId', 'secretId', new ConfigurationCreator()->createApConfig());
```

When sdk is set correctly, you can use it to fetch secured open api

```
$emailInput = new EmailInput();
$emailInput->setEmailAddress('example@email.com');
$response = $sdk->checkEmail($emailInput);
```

A Mosel Response object is returned with the app credentials token created as an object and the response given by Bt Api as an array.

How to test Mosel package
-------------------------

[](#how-to-test-mosel-package)

You can use phpunit to launch the tests:

```
 ./vendor/bin/phpunit tests/
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98% 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://avatars.githubusercontent.com/u/2271092?v=4)[Gaétan](/maintainers/gdarquie)[@gdarquie](https://github.com/gdarquie)

---

Top Contributors

[![gdarquie](https://avatars.githubusercontent.com/u/2271092?v=4)](https://github.com/gdarquie "gdarquie (48 commits)")[![fgette](https://avatars.githubusercontent.com/u/93762251?v=4)](https://github.com/fgette "fgette (1 commits)")

### Embed Badge

![Health badge](/badges/gdarquie-moselle-php/health.svg)

```
[![Health](https://phpackages.com/badges/gdarquie-moselle-php/health.svg)](https://phpackages.com/packages/gdarquie-moselle-php)
```

PHPackages © 2026

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