ahmadrezaei / hamrah-vas
hamrah vas package
dev-master
2019-09-23 09:45 UTC
Requires
- ext-curl: *
- ext-json: *
- ext-soap: *
- laravel/framework: 5.*
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:
- In
/config/app.php
, add the following toproviders
:
Alirezadp10\Hamrahvas\ServiceProvider::class,
and the following to aliases
:
'Hamrahvas' => Alirezadp10\Hamrahvas\HamrahvasFacade::class,
- 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