2017 © Pedro Peláez
 

project bundlex

The fastd bundles framework

image

fastd/bundlex

The fastd bundles framework

  • Saturday, May 20, 2017
  • by JanHuang
  • Repository
  • 1 Watchers
  • 2 Stars
  • 333 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 2 % Grown

The README.md

FastD Bundle-X

Building Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

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

要求

  • PHP 7+

Composer

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

使用

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

创建一个仓库,构建 composer.json., (*4)

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

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

config 选项主要配置初始化脚本位置,初始化脚本会存放到此目录,不配置则没有。, (*6)

模块初始化

php bin/bundle init

初始化 bundle 结构,继续执行:, (*7)

php bin/console bundle:generate BundleName

创建 bundle 组织代码。, (*8)

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

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

Testing

phpunit

License MIT

The Versions

20/05 2017

3.0.x-dev

3.0.9999999.9999999-dev

The fastd bundles framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

20/05 2017
15/08 2016

dev-master

9999999-dev

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

15/08 2016

v2.0.1

2.0.1.0

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

28/06 2016

2.0.x-dev

2.0.9999999.9999999-dev

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

28/06 2016

v2.0.0

2.0.0.0

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

20/06 2016

v2.0.0-beta4

2.0.0.0-beta4

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x

19/06 2016

v2.0.0-beta3

2.0.0.0-beta3

The fastd module framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar JanHuang

bundle x