Skip to content

Commit

Permalink
Add table docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Li authored and Bill Li committed Jan 25, 2018
1 parent a848655 commit ddee89a
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ A message to support multi-platform send, each sent in a different way, but we a

## Platform configuration instructions

#### [云片](https://www.yunpian.com)
###### [云片](https://www.yunpian.com)

```php
'yunpian' => [
'api_key' => '',
],
```

#### [腾讯云 SMS](https://cloud.tencent.com/product/sms)
###### [腾讯云 SMS](https://cloud.tencent.com/product/sms)

```php
'qcloud' => [
Expand All @@ -104,7 +104,7 @@ A message to support multi-platform send, each sent in a different way, but we a
],
```

#### [聚合数据](https://www.juhe.cn)
###### [聚合数据](https://www.juhe.cn)

```php
'juhe' => [
Expand All @@ -113,7 +113,7 @@ A message to support multi-platform send, each sent in a different way, but we a
```


#### [阿里大鱼](https://www.alidayu.cn)
######[阿里大鱼](https://www.alidayu.cn)

```php
'alidayu' => [
Expand All @@ -123,7 +123,7 @@ A message to support multi-platform send, each sent in a different way, but we a
],
```

#### [百度云](https://cloud.baidu.com/)
###### [百度云](https://cloud.baidu.com/)

```php
'baidu' => [
Expand All @@ -134,6 +134,45 @@ A message to support multi-platform send, each sent in a different way, but we a
],
```

## API

```php
AnomalyLab\LuminousSMS\LuminousSMS
```

##### sender(callable | array $callback, null|string $handler)

###### Arguments

<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Key</th>
<th>Required</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>$callback</td>
<td>true</td>
<td>callable | array</td>
<td>none</td>
<td>Send information data, AnomalyLab\LuminousSMS\Messenger::class</td>
</tr>

<tr>
<td>$handler</td>
<td>false</td>
<td>null | string</td>
<td>qcloud</td>
<td>Send the drive settings using SMS. We will default to Tencent cloud sms.</td>
</tr>
</tbody>
</table>

## License

MIT

0 comments on commit ddee89a

Please sign in to comment.