PHP API to create user/customers, assign bandwidth, and time

I am a PHP Programmer and currently implementing billing for my small wireless cafe.

I want to use PHP API to create user/customers, assigning them UP/Downlink bandwidth, and time/duration in User manager.

Please, how can I achieve this using PHP?

Thanks

You can do that using a client for the API, like the one from my signature.

With it, you can issue pretty much the same commands you’d normally be issuing from shell (there are some minor caveats you can see in the docs), but within certain moments of your PHP script, and possibly with arguments supplied by form input, database or whatever.

As for how do you do it in shell? With commands like “/tool user-manager customer add” for adding customers, and “/tool user-manager user add” for adding usernames for login (each associated with a customer). For details on the commands, open up a terminal window, and type the command, followed by “?”.

If you can describe how do you do things “manually”, I’ll be happy to show you more specifically how to automate that.