Download the PHP package ayman-elmalah/whmcs without Composer
On this page you can find all versions of the php package ayman-elmalah/whmcs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ayman-elmalah/whmcs
More information about ayman-elmalah/whmcs
Files in ayman-elmalah/whmcs
Package whmcs
Short Description A Laravel package for handling the use of whmcs api and writing clean and cool code
License MIT
Informations about the package whmcs
Laravel Whmcs
laravel whmcs is a php package written by Ayman Elmalah with laravel to handle using whmcs .
About whmcs
- WHMCS is the leading web host billing automation platform powering tens of thousands of web hosting companies.
- Simplify and automate daily tasks and operations with the #1 choice in Web Hosting Automation
Installation Guide
At laravel project install package using composer
Then you can run command to publish you vendor config files
The package is compatible with laravel 5.5 or later so you don't need to set providers or aliases for the package, we're using laravel auto discovery
Get Your Credentials From Whmcs
-
Go to your .env file and paste your credentials to be like this
You are now ready to use the package
To send request, you can use CURL request or localApi when you are in whmcs local project
you can add route for post request to do an action
At the controller, you can use one of two methods, curl or localApi to execute action to your whmcs
This code will do direct action to whmcs
That's an example of using whmcs api to you can use all actions with our package, just edit action value and postfields and it's all in your hand
To know more about all api index that you can use, you can visit the link below and choose the action you want
WHMCS api index => its the documentation for whmcs api, you can take the action and post fields and use it in our package
If you have any question, issue Or request, i'll be happy if hear any thing from you