samuelmwangiw/africastalking-laravel
最新稳定版本:v2.2.0
Composer 安装命令:
composer require samuelmwangiw/africastalking-laravel
包简介
This is my package africastalking-laravel
README 文档
README
This is an unofficial Laravel SDK for interacting with Africa's Talking APIs that takes advantage of native Laravel components such as
- HTTP Client in place of Guzzle client
- Service Container for a great dev experience
- Notifications to allow you route notifications via Africastalking
- Config
- Collections
- Among many others
Installation
You can install the package via composer:
composer require samuelmwangiw/africastalking-laravel
You can publish the config file with:
php artisan vendor:publish --tag="africastalking-config"
This is the contents of the published config file:
return [ 'username' => env('AFRICASTALKING_USERNAME', 'sandbox'), 'api-key' => env('AFRICASTALKING_API_KEY'), 'sms' => [ 'from' => env('AFRICASTALKING_FROM'), ], 'payment' => [ 'product-name' => env('AFRICASTALKING_PAYMENT_PRODUCT'), ], 'voice' => [ 'from' => env('AFRICASTALKING_VOICE_PHONE_NUMBER'), ] ];
You should configure the package by setting the env variables in your .env file.
Documentations
The full documentation can be found at Main Documentation site.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 15.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-10