This is where your description should go. Try and limit it to a paragraph or two.
You can install the package via composer:
composer require ayctor/cadeauxprives$cp = new \Ayctor\Cadeauxprives\Cadeauxprives( $site_url, $site_id, $api_key );
$infos = $cp->updateUser([
'email' => 'erwan@ayctor.com',
'code_client' => 'erwan@ayctor.com',
'nom' => 'Guillon',
'prenom' => 'Erwan',
'adresse' => [
'rue' => '23, rue Sébastien Mercier',
'cp' => '75015',
'ville' => 'Paris',
'code_iso' => 'FR',
],
]);All fields are required by the API.
$infos contains an object with the token to login and the full URL to login the user.
composer testPlease see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please email erwan@ayctor.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.