Download the PHP package afaztech/ibsngrpc without Composer

On this page you can find all versions of the php package afaztech/ibsngrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ibsngrpc

IBSNGrpc

IBSNGrpc is a PHP library designed specifically for interacting with AfazTech/IBSng subscriber management system via XML-RPC. Note that this package is built for this specific version of IBSng and may not be compatible with other versions.

This library provides a comprehensive set of methods for managing various aspects of the IBSng system. Contributions and improvements from the community are welcome!

Table of Contents

Installation

To install this library using Composer, run the following command:

Requirements

Verify required extensions with:

Usage

Available Methods

IP Pool Management

Method Description Parameters
addNewIPpool Add a new IP pool $ippool_name, $comment
updateIPpool Update an existing IP pool $ippool_id, $ippool_name, $comment
getIPpoolNames Get list of all IP pool names -
getIPpoolInfo Get information about a specific IP pool $ippool_name
deleteIPpool Delete an IP pool $ippool_name
delIPfromPool Remove an IP from a pool $ippool_name, $ip
addIPtoPool Add an IP to a pool $ippool_name, $ip

User Management

Method Description Parameters
addNewUser Add new user(s) $count, $credit, $group_name, $owner_name, $credit_comment
getUserInfoByID Get user info by ID $user_id
getUserInfoByUsername Get user info by username $username
updateUserAttrs Update user attributes $user_id, $attrs, $to_del_attrs
changeUserCredit Change user credit $user_id, $credit, $credit_comment
delUser Delete a user $user_id, $delete_comment, $del_connection_logs, $del_audit_logs
searchUser Search for users $conds, $from, $to, $order_by, $desc
changePassword Change user password $user_id, $username, $password
lockUser Lock a user $user_id, $lock_reason
unlockUser Unlock a user $user_id
changeUsergroup Change user's group $user_id, $new_group_name

RAS Management

Method Description Parameters
addNewRas Add new RAS $ras_ip, $ras_description, $ras_type, $radius_secret, $comment
getRasInfo Get RAS information $ras_ip
updateRasInfo Update RAS information $ras_id, $ras_ip, $ras_description, $ras_type, $radius_secret, $comment
getActiveRasIPs Get active RAS IPs -
addIPpoolToRas Add IP pool to RAS $ras_ip, $ippool_name

VoIP Management

Method Description Parameters
addNewVoIPTariff Add VoIP tariff $tariff_name, $comment
addVoIPTariffPrefix Add prefix to tariff $tariff_name, $prefix_codes, $prefix_names, $cpms, $free_seconds, $min_durations, $round_tos, $min_chargable_durations
getVoIPTariffInfo Get tariff info $tariff_name, $include_prefixes, $name_regex

Bandwidth Management

Method Description Parameters
addBwInterface Add bandwidth interface $interface_name, $comment
addBwNode Add bandwidth node $interface_name, $parent_id, $rate_kbits, $ceil_kbits
updateBwLeaf Update bandwidth leaf $leaf_id, $leaf_name, $default_rate_kbits, $default_ceil_kbits, $total_rate_kbits, $total_ceil_kbits

Admin Management

Method Description Parameters
addNewAdmin Add new admin $username, $password, $name, $comment
changeAdminPassword Change admin password $admin_username, $new_password
lockAdmin Lock admin account $admin_username, $reason

Report Management

Method Description Parameters
getOnlineUsers Get online users $normal_sort_by, $normal_desc, $voip_sort_by, $voip_desc, $conds
getConnections Get connection reports $conds, $from, $to, $sort_by, $desc
getCreditChanges Get credit changes $conds, $from, $to, $sort_by, $desc

Error Handling

All methods return an array with the following structure:

Example error handling:

License

This project is licensed under the MIT License. See the LICENSE file for details.


All versions of ibsngrpc with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-xmlrpc Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package afaztech/ibsngrpc contains the following files

Loading the files please wait ....