Skip to content

Ayctor/cadeauxprives

Repository files navigation

Very short description of the package

Latest Version on Packagist Build Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two.

Installation

You can install the package via composer:

composer require ayctor/cadeauxprives

Usage

$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.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email erwan@ayctor.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages