PHPackages                             huangdijia/smsease - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. huangdijia/smsease

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

huangdijia/smsease
==================

Smseae, base easysms

0.3.3(5y ago)326MITPHP

Since Nov 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/huangdijia/smsease)[ Packagist](https://packagist.org/packages/huangdijia/smsease)[ RSS](/packages/huangdijia-smsease/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (13)Versions (14)Used By (0)

Smsease
=======

[](#smsease)

[![Latest Stable Version](https://camo.githubusercontent.com/4dd81f1d3836ec868af5270de5fb1d61131d75e2c7ff7026882c4e1d14f9cf7c/68747470733a2f2f706f7365722e707567782e6f72672f6875616e6764696a69612f736d73656173652f76657273696f6e2e706e67)](https://packagist.org/packages/huangdijia/smsease)[![Total Downloads](https://camo.githubusercontent.com/6de1c24be26a46ac728b6e91bcbbcb839ec3d0ae283e55d80d3b601438b9cd22/68747470733a2f2f706f7365722e707567782e6f72672f6875616e6764696a69612f736d73656173652f642f746f74616c2e706e67)](https://packagist.org/packages/huangdijia/smsease)[![GitHub license](https://camo.githubusercontent.com/9403bc5333d751bff2a77709e18bc06cc790909613b3dde57183efe7e771198c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6875616e6764696a69612f736d7365617365)](https://github.com/huangdijia/smsease)

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

[](#installation)

```
composer require huangdijia/smsease
```

Quickly Start
-------------

[](#quickly-start)

### PHP

[](#php)

- Call

```
use Huangdijia\Smsease\Smsease;

$config = [
    // HTTP request timeout
    'timeout' => 5.0,

    // Default send options
    'default' => [
        // Gateway strategy, default: OrderStrategy
        'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,

        // gateway using
        'gateways' => [
            'accessyou', 'aliyun',
        ],
    ],
    // Available gateways
    'gateways' => [
        'accessyou' => [
            '__gateway__' => \Huangdijia\Smsease\Gateways\AccessyouGateway::class, // custom
            'account' => 'account',
            'password' => 'password',
        ],
        'aliyun' => [
            'access_key_id' => '',
            'access_key_secret' => '',
            'sign_name' => '',
        ],
        //...
    ],
];

$smsease = new Smsease($config);

$smsease->send(13188888888, [
    'content'  => 'Your verify code: 1234',
    'template' => 'SMS_001',
    'data' => [
        'code' => 1234
    ],
]);
```

### Hyperf

[](#hyperf)

- Publish

```
php bin/hyperf.php vendor:publish "huangdijia/smsease"
```

- Call

```
// Make by container
$container = \Hyperf\Utils\ApplicationContext::getcontainer();
$smsease = $container->get(\Huangdijia\Smsease\Smsease::class);
```

or

```
// Make by annotation
class Foo
{
    @Inject
    @var \Huangdijia\Smsease\Smsease::class
    private $smsease;

    // ...
}
```

- Options

If you want using coroutine, add class\_map setting into `config/autoload/annotations.php` of your project

```
return [
    'scan' => [
        // ...
        'class_map' => [
            \GuzzleHttp\Client::class => BASE_PATH . '/vendor/huangdijia/smsease/class_map/GuzzleHttp/Client.php',
        ],
    ],
];
```

### Laravel

[](#laravel)

- Publish

```
php artisan vendor:publish --provider="Huangdijia\Smsease\SmseaseServiceProvider"
```

- Call

```
$smsease = app(\Huangdijia\Smsease\Smsease::class);
// or
$smsease = app('smsease');
```

Link
----

[](#link)

[overtrue/easy-sms](https://github.com/overtrue/easy-sms)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

13

Last Release

2047d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8337659?v=4)[Deeka Wong](/maintainers/huangdijia)[@huangdijia](https://github.com/huangdijia)

---

Top Contributors

[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/huangdijia-smsease/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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