PHPackages                             mcsneaky/yii2-moceansms - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mcsneaky/yii2-moceansms

ActiveYii2-extension[HTTP &amp; Networking](/categories/http)

mcsneaky/yii2-moceansms
=======================

Yii2 Mocean SMS sending component

0632PHP

Since Dec 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/McSneaky/yii2-moceansms)[ Packagist](https://packagist.org/packages/mcsneaky/yii2-moceansms)[ RSS](/packages/mcsneaky-yii2-moceansms/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 MoceanSMS
==============

[](#yii2-moceansms)

Mocean SMS sending for Yii2

Based on mikk150/yii2-messentesms

[![Build Status](https://camo.githubusercontent.com/97667be30bee33c13f5d2dd14adc2cc1d614c0457b3b67ed388cdc6de6d03c12/68747470733a2f2f7472617669732d63692e6f72672f4d63536e65616b792f796969322d6d6f6365616e736d732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/McSneaky/yii2-moceansms) [![codecov](https://camo.githubusercontent.com/c5a75a6eba77505ac24d6e0aea9fe827496ca1fd66e5db9e58d888ca1a6b2e00/68747470733a2f2f636f6465636f762e696f2f67682f6d63736e65616b792f796969322d6d6f6365616e736d732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/mcsneaky/yii2-moceansms)

Usage
-----

[](#usage)

To use this extension, simply add the following code in your application configuration:

```
return [
    //....
    'components' => [
        'sms' => [
            'class' => 'mcsneaky\moceansms\Provider',
            'username' => 'myUsername',
            'password' => 'myPassword',
        ],
    ],
];
```

You can then send an SMS as follows:

```
Yii::$app->sms->compose('Your awesome SMS')
     ->setFrom('Yii2')
     ->setTo('+15417543010')
     ->send();
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://avatars.githubusercontent.com/u/6796697?v=4)[McSneaky](/maintainers/McSneaky)[@McSneaky](https://github.com/McSneaky)

### Embed Badge

![Health badge](/badges/mcsneaky-yii2-moceansms/health.svg)

```
[![Health](https://phpackages.com/badges/mcsneaky-yii2-moceansms/health.svg)](https://phpackages.com/packages/mcsneaky-yii2-moceansms)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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