PHPackages                             caydeesoft/safaricom-data - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. caydeesoft/safaricom-data

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

caydeesoft/safaricom-data
=========================

 integration for safaricom redemeble data

v0.0.1(3y ago)18MITPHPPHP ^7.4|^8.0|^8.1|^8.2

Since Jan 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Caydeesoft/safaricom-data)[ Packagist](https://packagist.org/packages/caydeesoft/safaricom-data)[ RSS](/packages/caydeesoft-safaricom-data/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

Safaricom Redeemable Services
=============================

[](#safaricom-redeemable-services)

This package is used to redeem data, airtime and sms bundles from safaricom. You need to request safaricom to create an application for you on the Daraja platform.
You will need a ***PRSP LICENCE*** to use this package, and activated packages on your PRSP Platform.
To install the package:

```
$ composer require caydeesoft/safaricom-data
```

Thereafter you will need to generate the config file, the file name will be ***data.php***.

```
$ php artisan vendor:publish --provider="Caydeesoft\SafaricomData\DataServiceProvider" --tag="data-config"
```

on the ***env*** file you will add

```
DATA_USERNAME=
DATA_PASSWORD=
DATA_CONSUMER_KEY=
DATA_CONSUMER_SECRET=
```

FEATURES
========

[](#features)

1. Check Balance
----------------

[](#1-check-balance)

```
