Cookies - 10quality/license-keys-php-client GitHub Wiki

The client supports the ability to specify the location where cURL cookies will be stored.

Use method set($options) to pass Cookie cURL options as an array and change the default path:

Client::instance()
    ->set([
        CURLOPT_COOKIEFILE => '/new-path/cookie_file.txt',
        CURLOPT_COOKIEJAR => '/new-path/cookie_file.txt',
    ]);