PHPackages                             xuanchen/crowdfund - 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. xuanchen/crowdfund

ActiveLibrary

xuanchen/crowdfund
==================

项目预购

1.1.7(5y ago)0116MITPHPPHP &gt;=7.1.3

Since Dec 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xuanchen120/crowdfund)[ Packagist](https://packagist.org/packages/xuanchen/crowdfund)[ Docs](https://github.com/xuanchen120/crowdfund.git)[ RSS](/packages/xuanchen-crowdfund/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (19)Used By (0)

项目预购
====

[](#项目预购)

项目列表
----

[](#项目列表)

> GET: crowdfunds

> Auth：玄尘

请求参数类型说明版本company\_idstring企业id1.0.0category\_idstring分类id1.0.0handpickstring是否精选1.0.0响应参数类型说明版本crowdfund\_idstring项目id1.0.0titlestring项目名称1.0.0coverstring封面1.0.0amountstring目标金额1.0.0all\_totalstring已筹集金额1.0.0all\_usersstring参与人数1.0.0citystring城市1.0.0categorystring分类1.0.0status\_textstring状态名称1.0.0statusstring状态1.0.0diffDaysstring剩余天数1.0.0openDiffDaysstring开启时间倒计时1.0.0likesstring关注人数1.0.0ratiostring完成比例1.0.0> stauts : 0 关闭 1 进行中 2 即将上线 3 已成功 4 已结束

```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": {
        "data": [
            {
                "crowdfund_id": 1,
                "title": "测试",
                "cover": "http://new.yuzhankeji.cn/storage/images/2020/12/03/065ea8c8a6cb7ac22ce4817d20497d90.jpg",
                "amount": "1.00",
                "all_total": 10,
                "all_users": 1,
                "city": "哈尔滨市",
                "category": "测试",
                "status_text": "进行中",
                "status": 1,
                "diffDays": 57,
                "openDiffDays": "1天前",
                "likes": 1,
            }
        ],
        "page": {
            "current": 1,
            "total_page": 1,
            "per_page": 15,
            "has_more": false,
            "total": 1
        }
    }
}

```

项目详情
----

[](#项目详情)

> GET: crowdfunds/{项目id}

> Auth：玄尘

响应参数类型说明版本crowdfund\_idstring项目id1.0.0titlestring项目名称1.0.0picturesstring封面图1.0.0video\_urlstring视频地址1.0.0amountstring目标金额1.0.0all\_totalstring已筹集金额1.0.0all\_usersstring参与人数1.0.0descriptionstring简介1.0.0contentstring详情1.0.0status\_textstring状态名称1.0.0statusstring状态1.0.0categorystring分类1.0.0diffDaysstring项目周期1.0.0endDiffDaysstring剩余天数1.0.0openDiffDaysstring倒计时1.0.0provincestring省份1.0.0citystring城市1.0.0likesstring关注人数1.0.0isLikestring是否关注1.0.0canPaystring是否可以支持1.0.0start\_atstring开始时间1.0.0end\_atstring结束时间1.0.0created\_atstring创建时间1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": {
        "crowdfund_id": 1,
        "title": "测试",
        "pictures": [
            "http://new.yuzhankeji.cn/storage/images/2020/12/03/065ea8c8a6cb7ac22ce4817d20497d90.jpg",
            "http://new.yuzhankeji.cn/storage/images/2020/12/03/148e9ee8c1ba26502b9d4ddd688daa9b.jpg"
        ],
        "video_url": "",
        "amount": "1.00",
        "all_total": 10,
        "all_users": 1,
        "items": [
            {
                "crowdfund_item_id": 1,
                "title": "2121",
                "time": "21212",
                "remark": "21212",
                "shipping": "2121",
                "price": "100.00",
                "quantity": "不限制",
                "all_users": 1,
                "all_total": "10.00",
                "created_at": "2020-12-03 11:25:28"
            },
            {
                "crowdfund_item_id": 3,
                "title": "回报1",
                "time": "项目成功后一周",
                "remark": "种瓜得瓜",
                "shipping": "全配送",
                "price": "1000.00",
                "quantity": "不限制",
                "all_users": 0,
                "all_total": 0,
                "created_at": "2020-12-03 14:49:09"
            }
        ],
        "description": "测试",
        "content": "范德萨发撒",
        "status_text": "进行中",
        "status": 1,
        "category": "测试",
        "diffDays": 57,
        "endDiffDays": 54,
        "openDiffDays": "0秒",
        "province": "黑龙江省",
        "city": "哈尔滨市",
        "likes": 0,
        "isLike": false,
        "canPay": true,
        "start_at": "2020-12-03 00:00:00",
        "end_at": "2021-01-31 00:00:00",
        "created_at": "2020-12-03 14:49:09"
    }
}

```

支持项目
----

[](#支持项目)

> GET: crowdfunds/create

> Auth：玄尘

请求参数类型说明版本crowdfund\_item\_idstring回报id1.0.0响应参数类型说明版本crowdfund\_item\_idstring回报id1.0.0titlestring回报名称1.0.0timestring回报时间1.0.0remarkstring回报内容1.0.0shippingstring配送说明1.0.0pricestring金额1.0.0quantitystring限制人数1.0.0all\_usersstring参与人数1.0.0all\_totalstring参与金额1.0.0created\_atstring创建时间1.0.0响应参数类型说明版本address\_idstring地址id1.0.0namestring姓名1.0.0mobilestring手机号1.0.0provincestring省1.0.0citystring市1.0.0districtstring区1.0.0addressstring详细地址1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": {
        "info": {
            "crowdfund_item_id": 1,
            "title": "2121",
            "time": "21212",
            "remark": "21212",
            "shipping": "2121",
            "price": "100.00",
            "quantity": "不限制",
            "all_users": 1,
            "all_total": "10.00",
            "created_at": "2020-12-03 11:25:28"
        },
        "address": [
            {
                "address_id": 9,
                "user_id": 1,
                "name": "json",
                "mobile": "15512341234",
                "province": "北京市",
                "city": "天津城区",
                "district": "科尔沁左翼中旗",
                "address": "255",
                "created_at": "2020-11-10 10:41:51"
            },
            {
                "address_id": 8,
                "user_id": 1,
                "name": "Jason",
                "mobile": "15512341234",
                "province": "北京市",
                "city": "天津城区",
                "district": "科尔沁左翼中旗",
                "address": "255",
                "created_at": "2020-11-10 10:41:19"
            }
        ]
    }
}

```

支持项目-创建订单
---------

[](#支持项目-创建订单)

> POST: crowdfunds

> Auth：玄尘

请求参数类型说明版本crowdfund\_item\_idstring回报id1.0.0address\_idstring地址id1.0.0remarkstring备注1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": {
        "trade_no": "T2012041408437581800"
    }
}

```

关注项目
----

[](#关注项目)

> POST: crowdfunds/like

> Auth：玄尘

请求参数类型说明版本crowdfund\_idstring项目id1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": {
        "likes": 1
    }
}

```

取消关注项目
------

[](#取消关注项目)

> POST: crowdfunds/unlike

> Auth：玄尘

请求参数类型说明版本crowdfund\_idstring项目id1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": "取消关注成功"
}

```

项目分类列表
------

[](#项目分类列表)

> GET: ajax/crowdfundcategory

> Auth：玄尘

请求参数类型说明版本company\_idstring企业id1.0.0```
{
    "status": "SUCCESS",
    "status_code": 200,
    "data": [
        {
            "title": "测试",
            "id": 1
        }
    ]
}

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

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

Total

18

Last Release

1958d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3ba5b49545b6397f328343f772964ddc7ea72e958b2916b7de7bb5e09489861?d=identicon)[xuanchen](/maintainers/xuanchen)

---

Top Contributors

[![xuanchen120](https://avatars.githubusercontent.com/u/26396567?v=4)](https://github.com/xuanchen120 "xuanchen120 (49 commits)")

### Embed Badge

![Health badge](/badges/xuanchen-crowdfund/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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