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' => '[email protected]',
'code_client' => '[email protected]',
'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 test
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.