PHPackages                             lunzi/dlj - 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. [API Development](/categories/api)
4. /
5. lunzi/dlj

ActiveLibrary[API Development](/categories/api)

lunzi/dlj
=========

api package for dlj.biz

0.1(7y ago)10703[2 issues](https://github.com/LunziSTU/dlj.biz-php/issues)Apache-2.0PHP

Since May 13Pushed 6y agoCompare

[ Source](https://github.com/LunziSTU/dlj.biz-php)[ Packagist](https://packagist.org/packages/lunzi/dlj)[ RSS](/packages/lunzi-dlj/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

> 由于短链服务经常被滥用，没有能力监管，已暂时关闭，敬请谅解！

dlj.biz-php
===========

[](#dljbiz-php)

[dlj.biz](https://dlj.biz) 短链接 API 扩展包

安装
--

[](#安装)

> composer require lunzi/dlj

使用
--

[](#使用)

### 短链接生成

[](#短链接生成)

```
use lunzi\DljBiz;

DljBiz::create("长链接");

// 示例
DljBiz::create("https://newphper.com/tool/layuitheme.html");

```

### 短链接还原

[](#短链接还原)

```
use lunzi\DljBiz;

DljBiz::create("长链接");

// 示例
DljBiz::query("https://dlj.biz/2Bw");

```

返回示例（数组）
--------

[](#返回示例数组)

```

array(4) {
  'Code' => int(0)
  'ShortUrl' => string(19) "https://dlj.biz/2Bw"
  'LongUrl' => string(41) "https://newphper.com/tool/layuitheme.html"
  'ErrMsg' => string(0) ""
}

```

详细文档见()

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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

Unknown

Total

1

Last Release

2557d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/798b3227b9640009f5667a975ed941f6cfa549c7e178e6d7c598c78b3e71d96e?d=identicon)[lunzi](/maintainers/lunzi)

---

Top Contributors

[![LunziSTU](https://avatars.githubusercontent.com/u/50568827?v=4)](https://github.com/LunziSTU "LunziSTU (2 commits)")[![WongSaang](https://avatars.githubusercontent.com/u/46235412?v=4)](https://github.com/WongSaang "WongSaang (1 commits)")

### Embed Badge

![Health badge](/badges/lunzi-dlj/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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