How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Access core provisioning module functions



The public classes are great to access domains, users and services, but we're still missing something. We would like to be able to access the underlying logic to connect to the servers they're provisioned on.

There are a few use cases for this. For example, you may want to change the DNS of a package when it's provisioned. If you want to do this today you would have to write your own logic to find the server the account is on, fetch the details of the server, connect to it and make the change. Most of this logic is already in WHMCS, the connection is made and there is some interaction with the API already.

Instead of rewriting this logic we would like to reuse it. For example, something along the lines of:

Service::find('100')->server()->API();

This would keep our code DRY and saves us all a lot of time.

Post the first comment

Login to post a comment.