PHPackages                             fastd/bundlex - 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. [Framework](/categories/framework)
4. /
5. fastd/bundlex

ActiveLibrary[Framework](/categories/framework)

fastd/bundlex
=============

The fastd module framework.

v2.0.1(9y ago)25421MITPHPPHP &gt;=7.0

Since May 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/JanHuang/bundlex)[ Packagist](https://packagist.org/packages/fastd/bundlex)[ RSS](/packages/fastd-bundlex/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

FastD Bundle-X
==============

[](#fastd-bundle-x)

[![Building](https://camo.githubusercontent.com/6f08284011c22946894e373afbbf40ec38356c4bee80c1f9286aa08cf712014d/68747470733a2f2f6170692e7472617669732d63692e6f72672f4a616e4875616e672f62756e646c65782e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/6f08284011c22946894e373afbbf40ec38356c4bee80c1f9286aa08cf712014d/68747470733a2f2f6170692e7472617669732d63692e6f72672f4a616e4875616e672f62756e646c65782e7376673f6272616e63683d6d6173746572)[![Latest Stable Version](https://camo.githubusercontent.com/8b97a0f9fd7998e6d0a160581538c2b15ced2e8e60f27a4705cc10967c24ff2f/68747470733a2f2f706f7365722e707567782e6f72672f66617374642f62756e646c65782f762f737461626c65)](https://packagist.org/packages/fastd/bundlex) [![Total Downloads](https://camo.githubusercontent.com/bce43b809fbd58b9d848177c3d7c450aa13db752a46dc783c017ccf4ef9098b0/68747470733a2f2f706f7365722e707567782e6f72672f66617374642f62756e646c65782f646f776e6c6f616473)](https://packagist.org/packages/fastd/bundlex) [![Latest Unstable Version](https://camo.githubusercontent.com/6182cd3571708b0930ee0795c8a1562610d3deba986022f3dc6516a58de0cc63/68747470733a2f2f706f7365722e707567782e6f72672f66617374642f62756e646c65782f762f756e737461626c65)](https://packagist.org/packages/fastd/bundlex) [![License](https://camo.githubusercontent.com/7552405dac70a077f849d96148d7696c8f0f8ca54fed7fc1f7bef2d76da18575/68747470733a2f2f706f7365722e707567782e6f72672f66617374642f62756e646c65782f6c6963656e7365)](https://packagist.org/packages/fastd/bundlex)

FastD Bundle 模块开发，独立包开发，将 bundle 独立部署，独立运行，可以进行最小模块拆分和管理模块。

要求
--

[](#要求)

- PHP 7+

Composer
--------

[](#composer)

```
{
    "fastd/bundlex": "2.0.x-dev"
}
```

使用
--

[](#使用)

FastD 模块开发添加依赖: `fastd/bundlex`，更新和安装完成后，`composer` 会执行对应脚本，创建最基础的模块项目环境。

创建一个仓库，构建 `composer.json`.

```
{
    "require": {
        "php": ">=7.0",
        "fastd/bundlex": "~2.0"
    },
    "autoload": {
        "psr-4": {
            "": "src"
        }
    },
    "autoload-dev": {
        "files": [
            "app/application.php"
        ]
    },
    "config": {
        "bin-dir": "bin"
    }
}
```

建议在开发环境中添加 `autoload-dev`，`config` 选项，`autoload-dev` 针对在开发环境中的自动加载项，仅对于生成出来的文件，最终提交 `src` 源码及相关 `composer` 配置即可。而 `autoload` 配置选项即是项目开发 `src` 的自动加载路径。

`config` 选项主要配置初始化脚本位置，初始化脚本会存放到此目录，不配置则没有。

### 模块初始化

[](#模块初始化)

```
php bin/bundle init

```

初始化 `bundle` 结构，继续执行:

```
php bin/console bundle:generate BundleName

```

创建 `bundle` 组织代码。

然后就可以按照框架本身的开发进行开发项目。开发出来的项目，既可以独立部署运行，也可以随意依赖整合到 `FastD` 框架中。

也可以根据上述步骤，创建自己的非项目包，`BundleX` 仅提供一个可运行的部署环境。

Testing
-------

[](#testing)

```
phpunit

```

License MIT
-----------

[](#license-mit)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~84 days

Total

8

Last Release

3329d ago

Major Versions

v2.0.1 → 3.0.x-dev2017-05-20

PHP version history (2 changes)v2.0.0-beta1PHP &gt;=7.0

3.0.x-devPHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c2bc821caf23977e1c3deea85e3cbc9a73a632e1afaf778638f7fe9da1c42b?d=identicon)[JanHuang](/maintainers/JanHuang)

---

Top Contributors

[![JanHuang](https://avatars.githubusercontent.com/u/7090871?v=4)](https://github.com/JanHuang "JanHuang (28 commits)")

---

Tags

Bundle X

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fastd-bundlex/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M294](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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