PHPackages                             mediumart/orange - 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. mediumart/orange

ActiveLibrary[API Development](/categories/api)

mediumart/orange
================

A laravel wrapper/adapter for orange api services.

2.0.0(4y ago)41.8k3MITPHPPHP &gt;=7.3CI failing

Since Jun 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mediumart/orange)[ Packagist](https://packagist.org/packages/mediumart/orange)[ RSS](/packages/mediumart-orange/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (20)Used By (0)

mediumart orange
================

[](#mediumart-orange)

[![Build Status](https://camo.githubusercontent.com/4a64fa24b760e2dec33fe779bc1df5ea0e89c8a74bc8f6dc27b35c7a917f07d7/68747470733a2f2f7472617669732d63692e6f72672f6d656469756d6172742f6f72616e67652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mediumart/orange)[![Coverage Status](https://camo.githubusercontent.com/cc90f56f645994ec4781637ecfb52e931b1ddf242b52cda14fe239b68eb55fde/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d656469756d6172742f6f72616e67652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mediumart/orange?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/2acf02195833ff462b7382f700cf06a0c20b6a1477ad30e8e125e8c0960ef3dd/68747470733a2f2f706f7365722e707567782e6f72672f6d656469756d6172742f6f72616e67652f762f737461626c65)](https://packagist.org/packages/mediumart/orange)[![License](https://camo.githubusercontent.com/09b3ed007296c93fb4b5945e88ebcbfaa1a05e6d53e4045d30afdd8c7c3bf6e4/68747470733a2f2f706f7365722e707567782e6f72672f6d656469756d6172742f6f72616e67652f6c6963656e7365)](https://packagist.org/packages/mediumart/orange)

Description
-----------

[](#description)

A laravel wrapper/adapter for orange api services.

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

[](#installation)

Using composer:

```
$ composer require mediumart/orange

```

If you are using laravel 5.3+ prior to version 5.5, add this to your `config/app.php` inside the `'providers'` array

```
Mediumart\Orange\OrangeServiceProvider::class
```

SMS Api
-------

[](#sms-api)

### Configuration

[](#configuration)

Open the `config/services.php` and add a key for the `orange>sms` service like this:

```
'orange' => [
    'sms' => [
        'client_id' => '',
        'client_secret' => ''
    ]
]

```

Using these credentials, a `token` will be *fetched* and *cached*, and then automatically be *renewed* a few days before its expiration.

### How to use

[](#how-to-use)

You can resolve an `SMS` client instance from the `Container` like this:

```
$sms = app('orange-sms');
```

Or using type hinting

```
use Mediumart\Orange\SMS\SMS;

public function index(SMS $sms)
{
    /.../
}
```

The documentation on how to use the `$sms` client instance can be found [here](https://github.com/mediumart/orange-sms)

License
-------

[](#license)

Mediumart orange is an open-sourced software licensed under the [MIT license](https://github.com/mediumart/orange/blob/master/LICENSE.txt).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~91 days

Recently: every ~177 days

Total

19

Last Release

1598d ago

Major Versions

0.2.9 → 1.0.02020-01-19

1.0.2 → 2.0.02021-12-28

PHP version history (3 changes)0.0.1PHP &gt;= 5.6

1.0.0PHP ^7.2

2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/76d279b09dcc42437866a38f691f12719533b305de249bdde754a1f453939fc2?d=identicon)[isaacesso](/maintainers/isaacesso)

---

Top Contributors

[![isaacesso](https://avatars.githubusercontent.com/u/6454100?v=4)](https://github.com/isaacesso "isaacesso (40 commits)")

---

Tags

laravelorangeorange-apiphpsmslaravelsmsorangeorange-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediumart-orange/health.svg)

```
[![Health](https://phpackages.com/badges/mediumart-orange/health.svg)](https://phpackages.com/packages/mediumart-orange)
```

###  Alternatives

[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)

PHPackages © 2026

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