Upsert Demande PHP-SalesForce-Rest-API

    $new_data = [
       'Name' => 'another name',
    ];

    /* returns statuscode */
    $salesforceFunctions->upsert('Account', 'API Name/ Field Name', 'value', $new_data);
Upset Unicorn