PHPackages                             javey/m3d - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. javey/m3d

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

javey/m3d
=========

Tool for FE to develop debug deploy

645JavaScript

Since Jun 28Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Javey/m3d)[ Packagist](https://packagist.org/packages/javey/m3d)[ RSS](/packages/javey-m3d/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

M3D开发联调平台
=========

[](#m3d开发联调平台)

简介
--

[](#简介)

一个帮助web开发者，管理开发环境（非搭建开发环境），并优化FE代码的平台

环境要求
----

[](#环境要求)

1. php &gt;= 5.2
2. lighttpd

建议环境

1. svn &gt;= 1.7
2. pngquant
3. uglifyjs

基础安装
----

[](#基础安装)

*已下假定当前目录为用户home下*

1. 新建目录，clone m3d代码

    `mkdir m3d && cd m3d && git clone https://github.com/Javey/m3d.git core`
2. 进入m3d源码目录core，执行

    `php m3d.php install`
3. 新增一个项目（project）管理平台，如：music

    `php m3d.php add music`
4. 修改lighttpd.conf，加入

    `include_shell ~/m3d/shell/include-lighttpd-conf.sh`
5. 重启lighttpd，配置host，访问

平台配置
----

[](#平台配置)

- 全局配置文件`conf/config.php`

1. `RESTART` =&gt; lighttpd重启命令
2. `SVN` =&gt; svn路径，用于checkout&amp;commit代码
3. `PNG8_COMPRESSOR` =&gt; FE代码，图片优化命令，如：`pngquant`
4. `JS_COMPRESSOR` =&gt; FE代码，js压缩命令，如：`uglifyjs`

- 项目（project）配置文件`project/music(PROJECT_NAME)/conf/config.php`

1. `host` =&gt; 当前项目域名
2. `name` =&gt; 当前项目名称

- webserver配置

    `project/music(PROJECT_NAME)/site/site-template`下配置当前项目的server环境

    `site-template`为模板环境，之后新建的所有环境都将以此为基准，只是改变src源码内容

    目录结构：

1. `wwwdata.test`:测试环境目录，该目录下的代码没有经过编译
2. `wwwdata.build`:编译环境目录，该木下的代码是经过编译处理的
3. `src`:用于搭建当前环境的所有源码，用于wwwdata.test环境部署
4. `build`：编译后的的源码，用于wwwdata.build环境部署
5. `lighttpd.conf`:当前环境的lighttpd配置，该配置会被安装时加入的`include-lighttpd-conf.sh`自动读取

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

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/dfc7639f8051d7a5f0dddede50ad4248049006bc4df1d55b771839b7a9132c61?d=identicon)[Javey](/maintainers/Javey)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/javey-m3d/health.svg)

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

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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