Download the PHP package xsme/php-api-adescom without Composer

On this page you can find all versions of the php package xsme/php-api-adescom. 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 php-api-adescom

PHP API Adescom

PHP library for handling Adescom system API using SOAP protocol.

Installation

Configuration

The library supports three different SOAP endpoints:

Initialization

Available methods

System information

getVersion(): string

Returns the PBX version.

Number management (CLID)

getClids(): stdClass

Returns a list of all numbers.

getClid(string $callerId): stdClass

Returns information about a specific callerID number.

getClidStatus(string $callerId): stdClass

Returns the status of a callerID number.

getClidsStatus(array $callerIds): stdClass

Returns statuses for multiple callerID numbers.

deleteClid(string $callerId, ?DateTime $dateTime = null): stdClass

Deletes a callerID number with optional date and time after which the number returns to the free numbers pool.

Number pool management

getPools(): stdClass

Returns a list of available number pools for the reseller.

getNumberPools(): stdClass

Returns a list of number pools.

getNumberPool(int $id): stdClass

Returns information about a specific number pool.

getFreeNumbersFromPool(int $id): stdClass

Returns a list of free numbers from the pool.

getFirstFreeNumberFromPool(int $id): stdClass

Returns the first free number from the pool.

Phone management

getPhones(): stdClass

Returns a list of phones.

getPhone(int $id): stdClass

Returns information about a specific phone.

Client management

getClients(): stdClass

Returns a list of all clients.

getClient(int $id): stdClass

Returns information about a specific client.

getClientByExternalId(string $externalID): stdClass

Returns a client by external ID.

getClidsForClient(int $clientId): stdClass

Returns a list of numbers for a specific client.

getClidsForClientByExternalId(string $externalID): stdClass

Returns a list of numbers for a client by external ID.

Billing and reports

getBillingByCallerID(DateTime $fromDate, DateTime $toDate, string $callerId, bool $includeZeroDuration = false, $typeSet = 1, int $directionSet = 1): stdClass

Returns billing records for the specified callerID number in the given time period.

Parameters:

getBillingSummaryByCallerID(DateTime $fromDate, DateTime $toDate, string $calledId, bool $includeZeroDuration = false, $typeSet = 1, int $directionSet = 1): stdClass

Returns a summary of billing records for the specified callerID number in the given time period.

Parameters identical to getBillingByCallerID

Usage example

Requirements

License

MIT License


All versions of php-api-adescom with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-soap Version *
ext-openssl 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 xsme/php-api-adescom contains the following files

Loading the files please wait ....