ahmadrezaei/hamrah-vas

hamrah vas package

dev-master 2019-09-23 09:45 UTC

This package is auto-updated.

Last update: 2025-03-23 22:07:47 UTC


README

Install package by composer

composer require ahmadrezaei/hamrah-vas

Setup

publish the configuration file if you want to change any defaults:

  1. In /config/app.php, add the following to providers:
Alirezadp10\Hamrahvas\ServiceProvider::class,

and the following to aliases:

'Hamrahvas' => Alirezadp10\Hamrahvas\HamrahvasFacade::class,
  1. Run php artisan vendor:publish --provider="Alirezadp10\Hamrahvas\ServiceProvider".

Now you can use the methods:

use Alirezadp10\Hamrahvas\HamrahvasFacade;
.
.
.
HamrahvasFacade::inAppCharge($request, $service->serviceId); // send register request
HamrahvasFacade::inAppChargeConfirm($request, $service->serviceId); // confirm register request by code