Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbrax/pesapal-laravel
A Laravel package that helps you to integrate with https://pesapal.com
https://github.com/dbrax/pesapal-laravel
composer epmnzava laravel mobilemoney payments pesapal
Last synced: 4 months ago
JSON representation
A Laravel package that helps you to integrate with https://pesapal.com
- Host: GitHub
- URL: https://github.com/dbrax/pesapal-laravel
- Owner: dbrax
- License: mit
- Created: 2020-11-15T20:27:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T13:51:26.000Z (about 2 years ago)
- Last Synced: 2024-10-31T05:51:37.039Z (4 months ago)
- Topics: composer, epmnzava, laravel, mobilemoney, payments, pesapal
- Language: PHP
- Homepage: https://dbrax.github.io/pesapal-laravel
- Size: 106 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://packagist.org/packages/epmnzava/pesapal)
[](https://travis-ci.org/epmnzava/pesapal)
[](https://packagist.org/packages/epmnzava/pesapal)
[](mailto:[email protected])This is a laravel package for intergrating with - [pesapal service] (https://developer.pesapal.com/)
More information of this can be found [here](https://epmnzava.medium.com/)## Installation
## Version Matrix
Version | Laravel | PHP Version
------- | --------- | ------------
1.0.0 | 8.0 | >= 8.0
1.0.1 | 8.0 | >= 7.3 >= 8.0
1.0.2 | 8.0 | >= 7.2.5 >= 8.0You can install the package via composer:
```bash
composer require epmnzava/pesapal
```# Update your config (for Laravel 5.4 and below)
Add the service provider to the providers array in config/app.php:
```
Epmnzava\Pesapal\PesapalServiceProvider::class
```
Add the facade to the aliases array in config/app.php:
```
'Pesapal'=>Epmnzava\Pesapal\PesapalFacade::class,
```# Publish the package configuration (for Laravel 5.4 and below)
Publish the configuration file and migrations by running the provided console command:
```
php artisan vendor:publish --provider="Epmnzava\Pesapal\PesapalServiceProvider"
```
### Environmental Variables
PESAPAL_CONSUMER_KEY ` your provided pesapal consumer key `PESAPAL_CONSUMER_SECRET ` your provided pesapal client secret `
PESAPAL_API_URL ` your provided pesapal api url live: www.pesapal.com Test demo.pesapal.com `
PESAPAL_CALLBACK_URL ` your callback url `
CURRENCY_CODE ` currency put TZS for Tanzanian Shillings `
## Usage
This release does not come with database tables for transaction or payments you need to create then After you have filled all necessary variables , providers and facases this is how the package can be used.``` php