PHPackages                             mghddev/dayapi - 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. mghddev/dayapi

ActiveLibrary

mghddev/dayapi
==============

library for Day insurance

1.0.2(6y ago)07MITPHP

Since Nov 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mghddev/dayapi)[ Packagist](https://packagist.org/packages/mghddev/dayapi)[ RSS](/packages/mghddev-dayapi/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

### Day Insurance PHP API Client

[](#day-insurance-php-api-client)

This library has an object that it uses for sending soap request to day apis. This is DaySoapClient class and it is needed to inject wsdl url and username and password for constructing of its object. 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 __DIR__.'/vendor/autoload.php';

$wsdl = "Wsdl_url";
$UserName = 'UserName';
$password = '*****';

$day_client = new \DayApi\DaySoapClient($wsdl, $UserName, $password);

####1) Method getPrice:

$get_price_object = new \DayApi\GetPriceDataObject();
$get_price_object->setAge(25);
$get_price_object->setDuration(10);
$get_price_object->setZoneId(107);

$prices = $day_client->getPrice($get_price_object);

####2) Method Issue:
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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 ~2 days

Total

3

Last Release

2360d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95566f8f07411361481bed2f7d675c058c492a57553356276cc69003afff5f09?d=identicon)[mghddev](/maintainers/mghddev)

---

Top Contributors

[![mghddev](https://avatars.githubusercontent.com/u/39303049?v=4)](https://github.com/mghddev "mghddev (9 commits)")

### Embed Badge

![Health badge](/badges/mghddev-dayapi/health.svg)

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

PHPackages © 2026

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