PHPackages                             wolverineo250kr/yii2-pevnev-domain-helper - 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. [Framework](/categories/framework)
4. /
5. wolverineo250kr/yii2-pevnev-domain-helper

ActiveYii2-extension[Framework](/categories/framework)

wolverineo250kr/yii2-pevnev-domain-helper
=========================================

Domain helper based on Yii2 framework

v1.0.7(6y ago)1101MITPHPPHP &gt;=7.0.0

Since Jan 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wolverineo250kr/yii2-pevnev-domain-helper)[ Packagist](https://packagist.org/packages/wolverineo250kr/yii2-pevnev-domain-helper)[ RSS](/packages/wolverineo250kr-yii2-pevnev-domain-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (9)Used By (1)

yii2-pevnev-domain-helper
=========================

[](#yii2-pevnev-domain-helper)

Install
-------

[](#install)

**composer require "wolverineo250kr/yii2-pevnev-domain-helper":"\*"**Usage
-----

[](#usage)

To get domain zone simply call in your Yii2 app following php command: ```
\wolverineo250kr\helpers\domain\DomainHelper::getZone();
```

**given url:**
**result example:** com
\----------------------------------------------------------------
To get domain name without subdomain simply call in your Yii2 app following php command:

```
\wolverineo250kr\helpers\domain\DomainHelper::getBase();
```

**given url:**
**result example:** yourdomain.com
\----------------------------------------------------------------
To get scheme call in your Yii2 app following php command:

```
\wolverineo250kr\helpers\domain\DomainHelper::getScheme();
```

 **given url:**
**result example:** https
\----------------------------------------------------------------
To get subdomain call in your Yii2 app following php command\*:

```
\wolverineo250kr\helpers\domain\DomainHelper::getSubdomain();
```

**given url:**
**result example:** subdomain
\* Incase of url has more than one subdomain, the command will always take first subdomain. Thus  will output **subdomain-one**

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Total

8

Last Release

2311d ago

PHP version history (2 changes)v1.0PHP &gt;=5.4.0

v1.0.5PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0394e0af2eb544d1d88d8fc57450f69da27de0d08a3ad372b0ffc5a771a92039?d=identicon)[wolverineo250kr](/maintainers/wolverineo250kr)

---

Top Contributors

[![wolverineo250kr](https://avatars.githubusercontent.com/u/21976597?v=4)](https://github.com/wolverineo250kr "wolverineo250kr (16 commits)")

---

Tags

moduleyii

### Embed Badge

![Health badge](/badges/wolverineo250kr-yii2-pevnev-domain-helper/health.svg)

```
[![Health](https://phpackages.com/badges/wolverineo250kr-yii2-pevnev-domain-helper/health.svg)](https://phpackages.com/packages/wolverineo250kr-yii2-pevnev-domain-helper)
```

###  Alternatives

[luyadev/luya-module-cms

The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.

32176.1k18](/packages/luyadev-luya-module-cms)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)

PHPackages © 2026

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