PHPackages                             otim-otim/pesapal-laravel-integration - 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. [Payment Processing](/categories/payments)
4. /
5. otim-otim/pesapal-laravel-integration

ActiveLibrary[Payment Processing](/categories/payments)

otim-otim/pesapal-laravel-integration
=====================================

This package integrates pesapal and its functionality to a laravel application

v1.0.0(1y ago)012MITPHPPHP ^8.1

Since Sep 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/otim-otim/pesapal-laravel-integration)[ Packagist](https://packagist.org/packages/otim-otim/pesapal-laravel-integration)[ RSS](/packages/otim-otim-pesapal-laravel-integration/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

**Pesapal Laravel Integration**
===============================

[](#pesapal-laravel-integration)

This package integrates the Pesapal v3 api with Laravel. It is currently limited to the Pesapal e-commerce API even though there are future plans to add the POS API as well. The package comes with tests written to make the package gurrantee a certain level reliability and predictability.

**Requirements**
----------------

[](#requirements)

1. PHP &gt;= 8.1
2. Laravel 10 or later
3. Pesapal Account

**Installation**
----------------

[](#installation)

To install the package, we nedd to require it using composer.

```
    composer require otim-otim/pesapal-laravel-integration

```

**Configuration**
-----------------

[](#configuration)

At this point, its necessary to publish the config file for the package into the main project. Therefore we run:

```
    php artisan vendor:publish --provider="OtimOtim\PesapalIntegrationPackage\PesapalIntegrationPackageServiceProvider" --tag="config"

```

This will add the PesapalIntegrationPackage.php file into the config folder of your main project. The contents of this file will be as below:-

```
