Let's take a look at a simple operation with the database today. Before using this code you should initialise capsule as written in this post.
Unfortunately WHMCS documentation does not give enough information about database management. On WHMCS 7 (actually from previous versions already) they implemented they take advantage of Laravel framework’s database component. You can find some info on the WHMCS documentation that is probably useful if you don't need example to understand what to do. I think in this case […]