Feature Requests
Share ideas, discuss and vote on requests from other users in community

Access core provisioning module functions

Thomas shared this idea 1 month ago
Under Consideration

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:


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