PHPackages                             cgbin/cgblog - 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. cgbin/cgblog

ActiveProject[Framework](/categories/framework)

cgbin/cgblog
============

personal blog

v0.0.1(7y ago)29MITHTMLPHP &gt;=5.6.4

Since Oct 12Pushed 7y agoCompare

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

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

[![avatar](https://camo.githubusercontent.com/86ca8880cb9e54c38adea7442dfd499af198e6095ee485b95757280774baa5fa/687474703a2f2f71696e69752e636762696e2e746f702f4b4f4b55314d57484d404b4b552532392537424a4c42584548584a2e706e67)](https://camo.githubusercontent.com/86ca8880cb9e54c38adea7442dfd499af198e6095ee485b95757280774baa5fa/687474703a2f2f71696e69752e636762696e2e746f702f4b4f4b55314d57484d404b4b552532392537424a4c42584548584a2e706e67)

介绍
--

[](#介绍)

后台功能:

- 文章管理模块
- 文章分类管理
- 文章回收站
- RBAC权限管理模块
- 友情链接管理
- 自定义导航条前台
- 网站配置项

安装教程
----

[](#安装教程)

环境要求:

- Composer
- PHP &gt;= 5.5.9
- Zip PHP Extension
- fileinfo PHP Extension
- 开启php.ini的配置，把 disable\_functions（禁用函数列表）这行里的 proc\_open和proc\_get\_status、symlink 函数删除，然后重启 PHP 服务

步骤
--

[](#步骤)

步骤一 安装 CgBlog `composer create-project cgbin/cgblog`

下载插件包
`composer update`

步骤二

先将站点运行目录指向 /public 目录下

配置数据库，打开 .env 文件，修改下面的内容：

```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

```

配置基本信息

```
APP_NAME=MeEdu
APP_ENV=local(这里如果正式运行，请修改为：production)
APP_KEY=
APP_DEBUG=true(这里如果是正式运行，请修改为：false)
APP_LOG_LEVEL=debug
APP_URL=http://localhost(这里修改你自己的地址)

```

生成加密密钥：

`php artisan key:generate`

步骤三 创建上传目录软链接：

`php artisan storage:link`

步骤四 设置 storage 目录、 configs/web.php 、ueditor图片上传目录权限为 777

```
chmod -R  777 storage
chmod -R  777 config/web.php
chmod -R  777 public/admin/lib/ueditor/php/upload

```

步骤五 配置伪静态并设置 meedu 的运行目录为 public 。

伪静态规则（Nginx）：

```
location / {
	try_files $uri $uri/ /index.php$is_args$query_string;
}

```

步骤六
安装数据表
`php artisan migrate`
执行填充文件
`php artisan db:seed`

步骤七 到这里，网站可以正常访问了。

后台登录地址：
超级管理员账号: admin 密码: 123

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2771d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35454704?v=4)[cgbin](/maintainers/cgbin)[@cgbin](https://github.com/cgbin)

---

Top Contributors

[![cgbin](https://avatars.githubusercontent.com/u/35454704?v=4)](https://github.com/cgbin "cgbin (34 commits)")

---

Tags

frameworklaravelblog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cgbin-cgblog/health.svg)

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

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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