PHPackages                             larastarscn/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. larastarscn/alidayu

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

larastarscn/alidayu
===================

Simple and easy to use, a laravel package of alidayu.

v0.0.4(9y ago)119973MITPHP

Since Oct 12Pushed 9y ago1 watchersCompare

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

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

Larastarscn AliDaYu
===================

[](#larastarscn-alidayu)

[![License](https://camo.githubusercontent.com/877a3f8b0fbc2e245495ce65ec89d7d009e017c1a4b96bc09ff08a0113ed1a16/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617374617273636e2f616c69646179752f6c6963656e73652e737667)](https://packagist.org/packages/larastarscn/alidayu)

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

[](#introduction)

This package provides a simple and convenient interface to AliDaYu. It make you request any interface of AliDaYu in just a minute.

Installion
----------

[](#installion)

To get started with AliDaYu, add to your `composer.json` file as a dependency:

```
composer require larastarscn/alidayu

```

Then type the `composer install` command to the cli.

Configure
---------

[](#configure)

After installing the AliDaYu libary, register the `Larastarscn\AliDaYu\AliDaYuServiceProvider` in your `config/app.php` configuration file:

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

    Larastarscn\AliDaYu\AliDaYuServiceProvider::class,
]

```

Also, add the `AliDaYu` facades to the `aliases` array in your `app.php` configuration file:

```
'AliDaYu' => Larastarscn\AliDaYu\Facades\AliDaYu::class

```

Then, you will need to publish the `alidayu.php` configuration file to the `config` directory:

```
php artisan vendor:publish

```

Also, you will need register the application infomation within `config/alidayu.php`.

Usage
-----

[](#usage)

Now you can request any interface by AliDaYu facades, to send an sms, you may code like this:

```
