This library allows the use of composer and project management dependencies.
We needed a proper code that can be shared easily between our projects instead of the example code of Mobiyo.
This library is available on Packagist.
Add the package using composer.
composer require encreinformatique/mobiyo
use EncreInformatique\Mobiyo\Client;
use EncreInformatique\Mobiyo\Payload;
...
$client = new Client($login, $password);
$payload = new Payload($numero_sql);
$number = $client->getNumber($payload);