PHPackages                             sergey-s-moiseev/restcomm-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sergey-s-moiseev/restcomm-php

ActiveProject[API Development](/categories/api)

sergey-s-moiseev/restcomm-php
=============================

Restcomm-PHP API

010PHP

Since May 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sergey-s-moiseev/restcomm-php)[ Packagist](https://packagist.org/packages/sergey-s-moiseev/restcomm-php)[ RSS](/packages/sergey-s-moiseev-restcomm-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Restcomm PHP API
================

[](#restcomm-php-api)

About
-----

[](#about)

This library provides an abstraction to use some functions of Restcomm Rest API

### Require:

[](#require)

- PHP &gt;= 5.3

### Installation via composer

[](#installation-via-composer)

- Add a project in your composer.json

```
{
    "require": {
        "sergey-s-moiseev/restcomm-php": "dev-master"
    }
}
```

and run

`$ php composer.phar update`

- Or use:

```
$ php composer.phar require sergey-s-moiseev/restcomm-php

```

### Usage

[](#usage)

```
    $rs = new RestcommService('YOUR_RESTCOMM_SDK_URL','YOUR_RESTCOMM_SDK_PORT', 'RESTCOMM_VERSION like a '2012-04-24'', 'YOUR_SID','YOUR_TOKEN');
    $response = $rs->sendSMS('PHONE_NUMBER_FROM','PHONE_NUMBER_TO','MESSAGE_TEXT');

```

\###To install as Service add: in /app/config/services.yml

```
    restcomm_php:
      class: SergeySMoiseev\Restcomm\RestcommService
      arguments: ['%restcomm_host%', '%restcomm_port%', '%restcomm_ver%', '%restcomm_sid%', '%restcomm_token%', ]

```

in /app/config/parameters.yml

```
       restcomm_host: 'YOUR_RESTCOMM_SDK_URL'
       restcomm_port: 'YOUR_RESTCOMM_SDK_PORT'
       restcomm_ver: 'RESTCOMM_VERSION like a '2012-04-24''
       restcomm_sid: 'YOUR_SID'
       restcomm_token: 'YOUR_TOKEN'

```

### As service usage example

[](#as-service-usage-example)

```
        $rs = $this->container->get('restcomm_php');
        $result = $rs->getInformationAboutTheDefaultAccount();

```

Available functions
-------------------

[](#available-functions)

\[Account Restcomm Account documentation\] ()

```
  Account:
   ->getInformationAboutTheDefaultAccount()
   ->updatePasswordUsingAccountSid($new_password)
   ->updatePasswordUsingEmailAddress($email, $new_password)

```

\[Account Restcomm Calls documentation\] ()

```
  Calls:
   ->makingACall($from, $to, $url)
   ->terminateInProgressCall($call_id)
   ->terminateRingingCall($call_id)

```

\[Account Restcomm Clients documentation\] ()

```
  Clients:
   ->createAClient($login, $password)
   ->deleteAClient($sid)
   ->changeClientsPassword($sid, $password)
   ->getListOfAvailableClients()

```

\[Account Restcomm SMS documentation\] ()

```
  SMS:
   ->sendSMS($from, $to, $text)
   ->getListOfSMSMessages()

```

To the `$response` variable service returns a response in the format of an associative array or HTTP error message

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5ad61e6774afba8ddc113a7baf9c4f21496c3ab4fe42472cc426baebe375e92?d=identicon)[sergey-s-moiseev](/maintainers/sergey-s-moiseev)

---

Top Contributors

[![sergey-s-moiseev](https://avatars.githubusercontent.com/u/6397231?v=4)](https://github.com/sergey-s-moiseev "sergey-s-moiseev (10 commits)")

### Embed Badge

![Health badge](/badges/sergey-s-moiseev-restcomm-php/health.svg)

```
[![Health](https://phpackages.com/badges/sergey-s-moiseev-restcomm-php/health.svg)](https://phpackages.com/packages/sergey-s-moiseev-restcomm-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M479](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
