PHPackages                             bboxlab/mosel - 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. bboxlab/mosel

ActiveLibrary[API Development](/categories/api)

bboxlab/mosel
=============

SDK for BT open APIs

00PHP

Since Jul 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/BboxLab/openapi-mosel-php)[ Packagist](https://packagist.org/packages/bboxlab/mosel)[ RSS](/packages/bboxlab-mosel/feed)WikiDiscussions main Synced 1mo 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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

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://www.gravatar.com/avatar/c720b14e4a8e980433fee08030defefb423e3bd0ef9f372ef890aa1c466f19c8?d=identicon)[bboxlab](/maintainers/bboxlab)

---

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/bboxlab-mosel/health.svg)

```
[![Health](https://phpackages.com/badges/bboxlab-mosel/health.svg)](https://phpackages.com/packages/bboxlab-mosel)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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