PHPackages                             cube-group/myaf-net - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cube-group/myaf-net

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cube-group/myaf-net
===================

net

v0.0.4(8y ago)08.1k1MITPHP

Since May 5Pushed 8y ago2 watchersCompare

[ Source](https://github.com/cube-group/myaf-net)[ Packagist](https://packagist.org/packages/cube-group/myaf-net)[ RSS](/packages/cube-group-myaf-net/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

Curl工具类库
========

[](#curl工具类库)

[![Latest Stable Version](https://camo.githubusercontent.com/a94dd6369c6b0f12fae2ce16996627623208f0c0ef00662225a27ee91a92a8a0/68747470733a2f2f706f7365722e707567782e6f72672f637562652d67726f75702f6d7961662d6e65742f76657273696f6e)](https://packagist.org/packages/cube-group/myaf-net)[![Total Downloads](https://camo.githubusercontent.com/45588b0862c533d0efed578d31c40f5c3679fd5a66cc97fd838292305cec282f/68747470733a2f2f706f7365722e707567782e6f72672f637562652d67726f75702f6d7961662d6e65742f646f776e6c6f616473)](https://packagist.org/packages/cube-group/myaf-net)[![License](https://camo.githubusercontent.com/cb9fbf900ea6fddb449a1f39442ab1032c0120a831f18a053c999ea24304d4cd/68747470733a2f2f706f7365722e707567782e6f72672f637562652d67726f75702f6d7961662d6e65742f6c6963656e7365)](https://packagist.org/packages/cube-group/myaf-net)

### 常用属性

[](#常用属性)

- 请求尝试的次数: $curl-&gt;try
- 请求尝试的最大次数: $curl-&gt;tryMax
- 请求耗时(单位:毫秒): $curl-&gt;useTime

### 常规用法

[](#常规用法)

```
$curl = new LCurl();
$curl->post('http://google.com',['a'=>'1'],['X-Token'=>'test'],15);
$curl->post('http://google.com','1');
$curl->get('http://google.com');
$curl->get('http://google.com',['a'=>'1']);

```

### 设定尝试次数

[](#设定尝试次数)

```
$curl = new LCurl(['tryMax'=>3]);
$curl->post('http://google.com',['a'=>'1'],['X-Token'=>'test'],15);
echo 'try: '.$curl->try;

```

### 钉钉机器人

[](#钉钉机器人)

```
$ding = new LDing('钉钉群报警机器人地址');
$ding->send('发什么都可以');
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Total

4

Last Release

2947d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7814560?v=4)[linyang](/maintainers/LincolnBruce)[@LincolnBruce](https://github.com/LincolnBruce)

---

Top Contributors

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

---

Tags

base

### Embed Badge

![Health badge](/badges/cube-group-myaf-net/health.svg)

```
[![Health](https://phpackages.com/badges/cube-group-myaf-net/health.svg)](https://phpackages.com/packages/cube-group-myaf-net)
```

###  Alternatives

[mnastalski/baselinker-php

Base.com (formerly BaseLinker) PHP library

1635.7k](/packages/mnastalski-baselinker-php)[thunderer/numbase

Convert any number between arbitrary bases

242.3k](/packages/thunderer-numbase)[delight-im/base-convert

Conversion of arbitrarily large numbers between any two bases or alphabets

161.2k](/packages/delight-im-base-convert)

PHPackages © 2026

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