Laravel 5 WHMCS API
Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:
composer require xuma/l5whmcs
or you can add your composer.json require section:
Don't forget to update composer update.
Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:
Create config/whmcs.php with content:
return [ 'url'=>'https://whmcsurl/includes/api.php', 'username'=>'yourapiusername', 'password'=>'yourapipassword', 'user_agent'=>'Your Agent Name' ];
Getting all clients.
Getting single client
Getting clients products
Getting clients domains
Getting clients hashed password