PHPackages                             lucifer/domain - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. lucifer/domain

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

lucifer/domain
==============

域名和url解析器

v1.0.27(1y ago)11053[1 PRs](https://github.com/AdolphGithub/domain/pulls)MITPHPPHP &gt;=7.0.0

Since Sep 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AdolphGithub/domain)[ Packagist](https://packagist.org/packages/lucifer/domain)[ Docs](https://github.com/adolphgithub/domain)[ RSS](/packages/lucifer-domain/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (27)Used By (0)

链接解析和域名解析. 提供二级域名和顶级域名. 持续完善中

### 如何安装

[](#如何安装)

直接使用composer进行安装. 国内请使用阿里云的源. 主要是怕你们下载不下来.

```
composer require lucifer/domain

```

### 如何使用

[](#如何使用)

```
$url_info = \Lucifer\Domain::parseUrl('baidu.com');

var_dump($url_info);

```

最后. 所有数据源信息来源于wiki. 这里会自动转义特殊字符.

### 感谢

[](#感谢)

Translate.php来源于

```
https://github.com/true/php-punycode

```

点击此处即可[访问](https://github.com/true/php-punycode)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~44 days

Recently: every ~263 days

Total

26

Last Release

616d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17741183?v=4)[adolph](/maintainers/AdolphGithub)[@AdolphGithub](https://github.com/AdolphGithub)

---

Top Contributors

[![AdolphGithub](https://avatars.githubusercontent.com/u/17741183?v=4)](https://github.com/AdolphGithub "AdolphGithub (24 commits)")[![laiwenhao1111](https://avatars.githubusercontent.com/u/53844917?v=4)](https://github.com/laiwenhao1111 "laiwenhao1111 (4 commits)")

### Embed Badge

![Health badge](/badges/lucifer-domain/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[karriere/json-decoder

JsonDecoder implementation that allows you to convert your JSON data into PHP class objects

140439.4k12](/packages/karriere-json-decoder)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[json-mapper/laravel-package

The JsonMapper package for Laravel

25188.9k3](/packages/json-mapper-laravel-package)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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