samuelmwangiw / africastalking-laravel
This is my package africastalking-laravel
Fund package maintenance!
SamuelMwangiW
Installs: 12 479
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 3
Requires
- php: ^8.2
- illuminate/contracts: ^11.0|^12.0
- saloonphp/laravel-plugin: ^3.5
- spatie/laravel-package-tools: ^1.14
Requires (Dev)
- guzzlehttp/guzzle: ^7.4
- larastan/larastan: ^3.0
- nunomaduro/collision: ^8.0.1
- orchestra/testbench: ^9.0|^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- dev-main
- v1.9.0
- v1.8.0
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- v0.0.1
- dev-feat/anonymous-notifications
- dev-feat-add-bug-template
This package is auto-updated.
Last update: 2025-04-27 13:50:54 UTC
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.