PHPackages                             kilo/kilophp - 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. kilo/kilophp

ActiveProject[Framework](/categories/framework)

kilo/kilophp
============

kilophp Framework

v1.0.1(6y ago)213[2 PRs](https://github.com/force-boot/framework/pulls)MITPHPPHP &gt;=7.0.0

Since Apr 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/force-boot/framework)[ Packagist](https://packagist.org/packages/kilo/kilophp)[ Docs](https://kiloframe.github.io/kiloPHP-framework/)[ RSS](/packages/kilo-kilophp/feed)WikiDiscussions master Synced 6d ago

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

KiloPHP- 基于PHP7的简单快速的轻量级php框架
=============================

[](#kilophp--基于php7的简单快速的轻量级php框架)

概要
--

[](#概要)

- 完全开源，使用MIT开源协议
- 采用`PHP7`强类型（严格模式）
- 符合`PSR4`自动加载规范和`PSR-2`命名规范
- 支持`Composer`管理
- 支持`ORM` 使用 `Laravel Eloquent ORM`组件
- 基于`FastRoute`实现路由，快速灵活
- 使用`Twig`作为框架模板引擎，语法简单，易学习，功能强大
- 独立多应用支持
- 表单令牌，session，cookie管理，缓存，安全过滤等
- 易扩展，代码规范，注释，文档齐全
- 轻量，快速，利于学习
- 更多参见文档和代码，该项目还在更新维护中

> 运行环境要求PHP7.0+。

版本更新
----

[](#版本更新)

v1.0
----

[](#v10)

第一个正式版本发布

v1.1
----

[](#v11)

1. 优化了单数据库和多数据库配置项定义
2. 增加Twig模板`request`全局变量，`server`,`method`,`cookie`等
3. 增加Twig模板`config`配置全局变量，可以获取全局配置和独立应用配置

```
//假设 获取home主配置的子配置domain
{{app.config.home.domian}} //显示127.0.0.1
//获取当前请求类型
{{app.request.method}}
//获取当前域名（带协议）
{{app.request.domain}}
//当前是否手机访问
{{app.request.isMoblie}}
//更多请查看文档

```

4. 基础控制器增加request属性用于获取`request`类对象，和`app`属性获取当前访问的应用名称
5. 优化了几处细节，修正几处注释
6. 更多...

安装
--

[](#安装)

```
composer create-project kilo/kilophp kilo

```

文档
--

[](#文档)

命名规范
----

[](#命名规范)

`kilophp`遵循PSR-2命名规范和PSR-4自动加载规范。

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~1 days

Total

2

Last Release

2216d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e5d92292b0bcf6dcff2970288e07ce1ed1ce71c082a4daa1028c36fe818656a?d=identicon)[kiloframe](/maintainers/kiloframe)

---

Top Contributors

[![force-boot](https://avatars.githubusercontent.com/u/63276065?v=4)](https://github.com/force-boot "force-boot (28 commits)")

---

Tags

framework-phpkilophpmvc-frameworkormphp7frameworkormkilophp

### Embed Badge

![Health badge](/badges/kilo-kilophp/health.svg)

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

###  Alternatives

[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[letsdrink/ouzo

Ouzo PHP MVC framework

7210.5k1](/packages/letsdrink-ouzo)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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