PHPackages                             rasulian/laravel-zarinpal - 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. rasulian/laravel-zarinpal

ActiveLibrary[Payment Processing](/categories/payments)

rasulian/laravel-zarinpal
=========================

A Laravel package to accept and verify payments from ZarinPal gateway based on REST

v1.2(8y ago)127504MITPHP

Since Aug 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mehrancodes/laravel-zarinpal)[ Packagist](https://packagist.org/packages/rasulian/laravel-zarinpal)[ RSS](/packages/rasulian-laravel-zarinpal/feed)WikiDiscussions master Synced yesterday

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

laravel-zarinpal
================

[](#laravel-zarinpal)

A laravel package for ZarinPal gateway based on REST

This pacakge enables you to accept and verify payments from ZarinPal gateway which is based on REST.

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

[](#installation)

The package can be installed through Composer:

```
composer require rasulian/laravel-zarinpal

```

You'll need to register the service provider:

```
// config/app.php

'providers' => [
    // ...
    Rasulian\ZarinPal\ZarinPalServiceProvider::class,
];

```

To publish the config file to config/zarinpal.php run:

```
php artisan vendor:publish --provider="Rasulian\ZarinPal\ZarinPalServiceProvider"

```

This is the default contents of the configuration:

```
// config/zarinpal.php
