PHPackages                             mhndev/asmari - 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. mhndev/asmari

ActiveLibrary

mhndev/asmari
=============

library for asmari

1.3.1(6y ago)1181MITPHP

Since Aug 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mhndev/asmari)[ Packagist](https://packagist.org/packages/mhndev/asmari)[ RSS](/packages/mhndev-asmari/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

### Asmari Company PHP API Client

[](#asmari-company-php-api-client)

you can find usage of this library down here,

```
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

require "vendor/autoload.php";

$wsdl = "http://example.com/wrapper/travel/soap/?wsdl";
$session_id = "xyz";

$asmari_client = new \mhndev\asmari\AsmariSoapClient($wsdl, $session_id);

#### 1) method get_zone_by_country

for($i=1; $igetZoneByCountry($i);
    $returned_zones[] = $res;
    $zone_countries[$res][] = $i;
}

#### 2) method get_price

$get_price_data_object = (new \mhndev\asmari\GetPriceDataObject())
    ->setBirthDate(DateTime::createFromFormat('Y-m-d', '2011-05-01'))
    ->setZoneId(1)
    ->setDurationId(2);

$res = $asmari_client->getPrice($get_price_data_object);

var_dump($res);
die();

#### 3) method issue

$issue_data_object = (new \mhndev\asmari\IssueDataObject())
    ->setBirthDate(DateTime::createFromFormat('Y-m-d', '2011-05-01'))
    ->setZoneId(1)
    ->setDurationId(2)
    ->setFirstName('Majid')
    ->setLastName('Abdolhosseini')
    ->setPassportNumber('J97634522')
    ->setNationalCode('0014297884');
$res = $asmari_client->issue($issue_data_object);

var_dump($res);
die();

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

8

Last Release

2372d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c3e5d182214e2e6b989a2230bcae80b2107b088da1c6dbea6f6f8d28702e272?d=identicon)[majidphpdeveloper](/maintainers/majidphpdeveloper)

---

Top Contributors

[![mhndev](https://avatars.githubusercontent.com/u/5164182?v=4)](https://github.com/mhndev "mhndev (8 commits)")

---

Tags

client-sideinsurancephpphp-client

### Embed Badge

![Health badge](/badges/mhndev-asmari/health.svg)

```
[![Health](https://phpackages.com/badges/mhndev-asmari/health.svg)](https://phpackages.com/packages/mhndev-asmari)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
