新增驱动

This commit is contained in:
zhouyangyang 2022-04-08 19:54:00 +08:00
parent cca29a2e9e
commit 9988eea917
8 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@
## 安装
```shell script
composer require Zyimm/sms
composer require zyimm/sms
```
## 配置
@ -17,7 +17,7 @@ composer require Zyimm/sms
### 发布配置
```shell script
php bin/hyperf.php vendor:publish Zyimm/sms
php bin/hyperf.php vendor:publish zyimm/sms
```
### 发送器配置

View File

@ -9,7 +9,7 @@ declare(strict_types=1);
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use GuzzleHttp\Exception\RequestException as GuzzleRequestException;
use Hyperf\Guzzle\ClientFactory;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Zyimm\Sms\Commands\GenSmsCommand;
use Zyimm\Sms\Contracts\SmsManagerInterface;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Zyimm\Sms\Contracts\MobileNumberInterface;
use Zyimm\Sms\Exceptions\InvalidMobileNumberException;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Hyperf\Utils\ApplicationContext;
use Zyimm\Sms\Contract\HasMobileNumber;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Hyperf\AsyncQueue\Job;
use Zyimm\Sms\Contracts\SmsableInterface;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Hyperf\Utils\ApplicationContext;
use Zyimm\Sms\Contract\HasMailAddress;

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* @contact eric@zhu.email
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
*/
namespace Zyimm\Sms\;
namespace Zyimm\Sms;
use Hyperf\Contract\ConfigInterface;
use Zyimm\Sms\Contract\ShouldQueue;