Yes, there is a library exist for commission junction. cehckout following library
How to use?
Add following entry in your composer.json file
To use make following configuration
$client = new \CROSCON\CommissionJunction\Client($api_key);
After that you can use this to call any API like