PHPackages                             coxy121/ringcentral-laravel - 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. coxy121/ringcentral-laravel

AbandonedArchivedLibrary[API Development](/categories/api)

coxy121/ringcentral-laravel
===========================

Laravel Package for the RingCentral SDK for PHP

v0.4.0(5y ago)315.4k↓50%6MITPHPPHP &gt;=7.1.3

Since Nov 7Pushed 5y ago2 watchersCompare

[ Source](https://github.com/coxlr/ringcentral-laravel)[ Packagist](https://packagist.org/packages/coxy121/ringcentral-laravel)[ RSS](/packages/coxy121-ringcentral-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (10)Used By (0)

RingCentral Package for Laravel
-------------------------------

[](#ringcentral-package-for-laravel)

**DEPRECATED** in favor of [coxlr/laravel-ringcentral](https://github.com/coxlr/laravel-ringcentral)

Introduction
------------

[](#introduction)

This is a simple Laravel Service Provider providing access to the [RingCentral SDK for PHP](https://github.com/ringcentral/ringcentral-php).

Installation
------------

[](#installation)

To install the PHP client library using Composer:

```
composer require coxy121/ringcentral-laravel
```

Alternatively, add these two lines to your composer require section:

```
{
    "require": {
        "coxy121/ringcentral-laravel": "^1.0"
    }
}
```

### Laravel 5.5+

[](#laravel-55)

If you are using Laravel 5.5 or above, the package will automatically register the `RingCentral` provider and facade.

### Laravel 5.4 and below

[](#laravel-54-and-below)

Add `RingCentral\Laravel\RingCentralServiceProvider` to the `providers` array in your `config/app.php`:

```
'providers' => [
    // Other service providers...

    RingCentral\Laravel\RingCentralServiceProvider::class,
],
```

If you want to use the facade interface, you can `use` the facade class when needed:

```
use RingCentral\Laravel\Facade\RingCentral;
```

Or add an alias in your `config/app.php`:

```
'aliases' => [
    ...
    'RingCentral' => RingCentral\Laravel\Facade\RingCentral::class,
],
```

Configuration
-------------

[](#configuration)

You can use `artisan vendor:publish` to copy the distribution configuration file to your app's config directory:

```
php artisan vendor:publish
```

Then update `config/ringcentral.php` with your credentials. Alternatively, you can update your `.env` file with the following:

```
RINGCENTRAL_CLIENT_ID=my_client_id
RINGCENTRAL_CLIENT_SECRET=my_client_secret
RINGCENTRAL_SERVER_URL=my_server_url
RINGCENTRAL_USERNAME=my_username
RINGCENTRAL_OPERATOR_EXTENSION=my_operator_extension
RINGCENTRAL_OPERATOR_PASSWORD=my_operator_password

#If admin details are a different extension to the operator
RINGCENTRAL_ADMIN_EXTENSION=my_admin_extension
RINGCENTRAL_ADMIN_PASSWORD=my_admin_password

```

Usage
-----

[](#usage)

To use the RingCentral Client Library you can use the facade, or request the instance from the service container.

### Sending an SMS message (requires login in extension to be company operator)

[](#sending-an-sms-message-requires-login-in-extension-to-be-company-operator)

```
RingCentral::sendMessage([
    'to'   => '13107960080',
    'text' => 'Using the facade to send a message.'
]);
```

Or

```
$ringcentral = app('ringcentral');

$ringcentral->sendMessage([
    'to'   => '13107960080',
    'text' => 'Using the instance to send a message.'
]);
```

#### Properties

[](#properties)

NameRequiredTypeDefaultDescriptiontotrueStringThe number to send the message to, must include country codetexttrueStringThe text of the message to send### Retrieving Extensions (requires admin access)

[](#retrieving-extensions-requires-admin-access)

```
RingCentral::getExtensions();
```

Or

```
$ringcentral = app('ringcentral');

$ringcentral->getExtensions();
```

### Get messages sent and received for the operator

[](#get-messages-sent-and-received-for-the-operator)

```
RingCentral::getOperatorMessages();
```

Or

```
$ringcentral = app('ringcentral');

$ringcentral->getOperatorMessages();
```

The default from date is the previous 24 hours, to specify the date to search from pass the require date as a parameter.

```
RingCentral::getOperatorMessages((new \DateTime())->modify('-1 hours'));
```

#### Parameters

[](#parameters)

NameRequiredTypeDefaultDescriptionfromDatefalseObjectThe date and time to start the search from must be a PHP date objecttoDatefalseObjectThe date and time to end the search must be a PHP date objectperPagefalseInt100The number of records to return per page### Get messages sent and received for a given extension (Needs admin access)

[](#get-messages-sent-and-received-for-a-given-extension-needs-admin-access)

```
RingCentral::getMessagesForExtensionId(12345678);
```

Or

```
$ringcentral = app('ringcentral');

$ringcentral->getMessagesForExtensionId(12345678);
```

The default from date is the previous 24 hours, to specficy the date to search from pass the require date as a parameter.

```
RingCentral::getMessagesForExtensionId(12345678, (new \DateTime())->modify('-1 hours'));
```

#### Parameters

[](#parameters-1)

NameRequiredTypeDefaultDescriptionextensionIdtrueStringThe RingCentral extension Id of the extension to retrieve the messages forfromDatefalseObjectThe date and time to start the search from must be a PHP date objecttoDatefalseObjectThe date and time to end the search must be a PHP date objectperPagefalseInt100The number of records to return per page### Get a messages attachment (requires admin access)

[](#get-a-messages-attachment-requires-admin-access)

```
RingCentral::getMessageAttachmentById(12345678, 910111213, 45678910);
```

Or

```
$ringcentral = app('ringcentral');

$ringcentral->getMessageAttachmentById(12345678, 910111213, 45678910);
```

#### Parameters

[](#parameters-2)

NameRequiredTypeDefaultDescriptionextensionIdtrueStringThe RingCentral extension Id of the extension the messages belongs tomessageIdtrueStringThe id of the message of the the attachment belongs toattachmentIdtrueStringThe id of the attachmentFor more information on using the RingCentral client library, see the [official client library repository](https://github.com/ringcentral/ringcentral-php).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~115 days

Recently: every ~171 days

Total

7

Last Release

2049d ago

PHP version history (3 changes)v0.1.0PHP &gt;=7.0

v0.1.1PHP &gt;=7.1

v0.2.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8451762?v=4)[Lee](/maintainers/coxlr)[@coxlr](https://github.com/coxlr)

---

Top Contributors

[![coxlr](https://avatars.githubusercontent.com/u/8451762?v=4)](https://github.com/coxlr "coxlr (14 commits)")

---

Tags

laravellaravel-5-packagelaravel-packagephpringcentrallaravelringcentral

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coxy121-ringcentral-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/coxy121-ringcentral-laravel/health.svg)](https://phpackages.com/packages/coxy121-ringcentral-laravel)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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