PHPackages                             inn20/blog - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. inn20/blog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

inn20/blog
==========

A simple blog

v0.5.3(5y ago)4341PHPCI failing

Since Jul 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/inn20/blog)[ Packagist](https://packagist.org/packages/inn20/blog)[ RSS](/packages/inn20-blog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

#### 介绍

[](#介绍)

一个基于Laravel的博客composer扩展包，专注阅读、支持markdown。

#### 演示：[Inn的博客](http://blog.gog5.cn/)

[](#演示inn的博客)

快速安装
====

[](#快速安装)

环境要求

- Laravel 7
- PHP 7+
- 本博客后台使用是的 `laravel-admin`，安装过`laravel-admin`的请先卸载

首先确保安装好了laravel，并且数据库连接设置正确。

```
composer require inn20/blog

```

然后运行下面的命令来发布资源：

```
php artisan blog:publish

```

在该命令会生成博客与后台的静态资源、配置文件`config/blog.php`、`config/admin.php`。

`blog.php`可以在里面修改博客的路由前缀、数据库表前缀等。

> 注意路由前缀不要和已有的路由重复，否则会被覆盖

`admin.php`配置说明可查看  ，建议都是用默认配置不修改。

然后运行下面的命令完成安装：

```
php artisan blog:install

```

安装完成之后，前台默认链接 `http://localhost/blog`。

后台 `http://localhost/blog/admin`，使用用户名 admin 和密码 admin登录。

版本升级
====

[](#版本升级)

```
// 更新到最新版本
composer update inn20/blog

// 强制发布静态资源文件
php artisan vendor:publish --tag=inn-blog-assets --force

// 强制发布语言包文件
php artisan vendor:publish --tag=inn-blog-lang --force

// 清理视图缓存
php artisan view:clear

```

依赖
==

[](#依赖)

- [z-song/laravel-admin](https://github.com/z-song/laravel-admin) 一个可以快速帮你构建后台管理的工具
- [broqiang/mdblog](https://github.com/broqiang/mdblog) 引用了`Bro Qiang 博客`的前端样式

#### 遇到问题欢迎[反馈](https://gog5.cn/posts/7)

[](#遇到问题欢迎反馈)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

4

Last Release

2120d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/inn20-blog/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[stepanenko3/nova-cards

A Laravel Nova info cards.

33143.0k](/packages/stepanenko3-nova-cards)

PHPackages © 2026

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