PHPackages                             luanguang/try-make - 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. luanguang/try-make

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

luanguang/try-make
==================

try make a package

07PHP

Since Apr 12Pushed 8y agoCompare

[ Source](https://github.com/luanguang/try-make)[ Packagist](https://packagist.org/packages/luanguang/try-make)[ RSS](/packages/luanguang-try-make/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

尝试写一个包，了解一下composer，并且尝试上传到github上面,以及使用 composer require luanguang/try-make

#### 使用composer进行初始化操作，也就是composer init 如下composer.json

[](#使用composer进行初始化操作也就是composer-init-如下composerjson)

```
{
    "name": "luanguang/try-make",
    "description": "try make a package",
    "type": "library",
    "license": "MIT",
    "authors": [
        {
            "name": "Luan Guang",
            //邮箱
        }
    ],
    "minimum-stability": "dev",//这条很重要，因为是开发包，所以这个要定义，不然完成包之后你是无法安装的。
    "require": {
        "php": ">=7.0"
    },
    "autoload": {
        "psr-4": {
            "Flower\\Rose\\": "src/Flower/Rose",
            "Flower\\Lily\\": "src/Flower/Lily"
        }
    }
}

```

#### 根据上面设置的路径，进行添加文件夹。

[](#根据上面设置的路径进行添加文件夹)

#### 在文件夹当中添加php文件，写方法，提交到git上

[](#在文件夹当中添加php文件写方法提交到git上)

#### 到package.org，提交自己git上面的包路径，完成后到本地进行测试

[](#到packageorg提交自己git上面的包路径完成后到本地进行测试)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/02bcf80b793daf470f416c4bdbea92d1ced00b105f75360050ebac9a05ba734d?d=identicon)[luanguang](/maintainers/luanguang)

---

Top Contributors

[![luanguang](https://avatars.githubusercontent.com/u/33147431?v=4)](https://github.com/luanguang "luanguang (6 commits)")

### Embed Badge

![Health badge](/badges/luanguang-try-make/health.svg)

```
[![Health](https://phpackages.com/badges/luanguang-try-make/health.svg)](https://phpackages.com/packages/luanguang-try-make)
```

###  Alternatives

[spatie/fork

A lightweight solution for running code concurrently in PHP

1.0k2.6M39](/packages/spatie-fork)

PHPackages © 2026

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