PHPackages                             tjwenke/laravel-alidayu - 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. tjwenke/laravel-alidayu

ActiveLibrary

tjwenke/laravel-alidayu
=======================

Alidayu sdk for laravel

v0.1.3(8y ago)018MITPHP

Since Nov 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tjwenke/laravel-alidayu)[ Packagist](https://packagist.org/packages/tjwenke/laravel-alidayu)[ RSS](/packages/tjwenke-laravel-alidayu/feed)WikiDiscussions master Synced yesterday

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

Install
=======

[](#install)

```
composer require tjwenke/laravel-alidayu

php artisan vendor:publish --provider="Tjwenke\Alidayu\ServiceProvider"

```

Then you should change the config file in `config/alidayu.php`

```
app_key: alidayu app key
app_secret: alidayu app secret
log_path: error log path, just when app.debug=true will write log
code_length: verification code length
expire_after: verification code expire time, minutes
resend_delay: verification code resend delay time, minutes
success_times: verfication code check success times
fail_times: verfication code check fail times

```

when verfication code check success times or fail times less than 0, verfication code will be expired.

Usage
=====

[](#usage)

Send Message
------------

[](#send-message)

```
use Tjwenke\Alidayu\Facades\Message;

$result = Code::template('message template')
->params('message paramaters')
->signname('message signname')
->send('phone number');

```

Send Verification Code
----------------------

[](#send-verification-code)

```
use Tjwenke\Alidayu\Facades\Code;

$result = Code::domain('verification code domain')
->template('message template')
->params('message paramaters')
->signname('message signname')
->send('phone number');

```

Check Verification Code
-----------------------

[](#check-verification-code)

```
use Tjwenke\Alidayu\Facades\Checker;

$result = Checker::domain('verification code domain')
->check('phone number', 'verfication code');

```

Return
------

[](#return)

```
[
	'code' => code
	'message' => message
]

```

- 0 - handle success
- 1 - verification code sending
- 2 - verification code expire
- 3 - verification code wrong
- 4 - message send fail

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

3098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7983f9e636c1652ca31423da50a1fe28d1ab193dc9219e28a74a02d23778a7ab?d=identicon)[xuanyuanwen](/maintainers/xuanyuanwen)

### Embed Badge

![Health badge](/badges/tjwenke-laravel-alidayu/health.svg)

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

PHPackages © 2026

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