PHPackages                             wj008/beacon-web - 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. wj008/beacon-web

ActiveProject

wj008/beacon-web
================

The "Beacon Standard Edition" distribution

4.1.1(3y ago)31783Apache-2.0HTMLPHP &gt;=8.0

Since Dec 6Pushed 3y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (56)Used By (0)

beacon-web
==========

[](#beacon-web)

The "Beacon Standard Edition" distribution

### Beacon 介绍

[](#beacon-介绍)

这是一个PHP快速开发框架,轻量级简单高效安全的 CMF 框架。 文档会在有空的时间陆续更新.... 加星是我的动力。 如果有问题可以 issues 我。 帮助文档

#### 安装

[](#安装)

使用 composer 创建项目可以得到完整的应用 或者直接使用 phpstorm 创建工程时选择 composer 项目对话框底部项目搜索中搜索 wj008 选择 beacon-web 创建项目。

```
composer create-project wj008/beacon-web

```

#### 环境要求

[](#环境要求)

php 8.0 及以上，我的开发环境是php 8.0.3 如果是 nginx 请自行设置支持 pathinfo

mysql 是 5.7 及以上。

#### 需要设置 url 重写，指向 index.php

[](#需要设置-url-重写指向-indexphp)

网站目录应该指向 `/www``/www/index.php` 是入口文件。

补充 nginx 配置示例

```
server {
        listen       8082;
        server_name  localhost;
        location / {
            root   /cygdrive/e/works/php/beacon/www;
            index  index.html index.htm index.php;
			      if (!-e $request_filename){
				      rewrite ^(.*)$ /index.php$1 last;
			      }
        }
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
        location ~ \.php(/.+)?$ {
            root           /cygdrive/e/works/php/beacon/www;
            set $path_info "";
            set $real_script_name $fastcgi_script_name;
            if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
                set $real_script_name $1;
                set $path_info $2;
            }
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
			      fastcgi_param SCRIPT_FILENAME /cygdrive/e/works/php/beacon/www$real_script_name;
            fastcgi_param SCRIPT_NAME $real_script_name;
            fastcgi_param PATH_INFO $path_info;
            include     fastcgi_params;
        }
    }

```

debug.php 需要用命令行运行，最好是在 phpstrom 中直接右键运行，有意外不到的收获。

`php debug.php`

调试日志将在命令行中打印出来.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity79

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

Recently: every ~137 days

Total

55

Last Release

1183d ago

Major Versions

2.1.3 → 3.0.02021-05-02

3.0.21 → 4.0.02021-08-14

3.x-dev → 4.1.12023-02-15

PHP version history (2 changes)2.0.0PHP &gt;=7.0

3.0.0PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![wj008](https://avatars.githubusercontent.com/u/4304017?v=4)](https://github.com/wj008 "wj008 (100 commits)")

### Embed Badge

![Health badge](/badges/wj008-beacon-web/health.svg)

```
[![Health](https://phpackages.com/badges/wj008-beacon-web/health.svg)](https://phpackages.com/packages/wj008-beacon-web)
```

PHPackages © 2026

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