PHPackages                             prevailexcel/laravel-marasoftpay - 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. prevailexcel/laravel-marasoftpay

ActiveLibrary[Payment Processing](/categories/payments)

prevailexcel/laravel-marasoftpay
================================

A Laravel SDK for Marasoft Pay

1.0.0(2y ago)03MIT

Since Jan 1Compare

[ Source](https://github.com/PrevailExcel/laravel-marasoftpay)[ Packagist](https://packagist.org/packages/prevailexcel/laravel-marasoftpay)[ RSS](/packages/prevailexcel-laravel-marasoftpay/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

laravel-marasoftpay
===================

[](#laravel-marasoftpay)

[![Latest Stable Version](https://camo.githubusercontent.com/bf9e18c57064b335efc5d702d8e9d34ad6163a152e6fcf7e7e00f3fc84cb23c6/68747470733a2f2f706f7365722e707567782e6f72672f7072657661696c657863656c2f6c61726176656c2d6d617261736f66747061792f762f737461626c652e737667)](https://packagist.org/packages/prevailexcel/laravel-marasoftpay)[![License](https://camo.githubusercontent.com/3710c889964d2c75917f6b26f2097044c0dd2a91019dce577a30f65180fa70fd/68747470733a2f2f706f7365722e707567782e6f72672f7072657661696c657863656c2f6c61726176656c2d6d617261736f66747061792f6c6963656e73652e737667)](LICENSE.md)

> A Laravel Package for working with MarasoftPay Payments seamlessly.

Collect payments from individuals or businesses locally and globally, and settle them in multiple currencies, ensuring a cost-effective and hassle-free payment process. This package also allows you to receive all types of webhooks from [Marasoft Pay](https://marasoftpay.com/) which it verifies and handles the payloads for you. You can start collecting payment in payments in minutes.

```
Bank Transfers
USSD
Cards
Virtual Bank Accounts
Mobile Money

```

Installation
------------

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Marasoft Pay, simply require it

```
composer require prevailexcel/laravel-marasoftpay
```

Or add the following line to the require block of your `composer.json` file.

```
"prevailexcel/laravel-marasoftpay": "1.0.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel Marasoft Pay is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

> If you use **Laravel &gt;= 5.5** you can skip this step and go to [**`configuration`**](https://github.com/PrevailExcel/laravel-marasoftpay#configuration)

```
'providers' => [
    ...
    PrevailExcel\MarasoftPay\MarasoftPayServiceProvider::class,
    ...
]
```

Also, register the Facade like so:

```
'aliases' => [
    ...
    'MarasoftPay' => PrevailExcel\MarasoftPay\Facades\MarasoftPay::class,
    ...
]
```

Configuration
-------------

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="PrevailExcel\MarasoftPay\MarasoftPayServiceProvider"
```

A configuration-file named `marasoftpay.php` with some sensible defaults will be placed in your `config` directory:

```
