PHPackages                             kancilphp/framework - 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. kancilphp/framework

ActiveLibrary[Framework](/categories/framework)

kancilphp/framework
===================

KancilMinimalis PHP Framework - KISS, minimal dependencies

v0.16.0(1mo ago)016MITPHPPHP &gt;=8.3

Since May 10Pushed 1mo agoCompare

[ Source](https://github.com/kancilphp/framework)[ Packagist](https://packagist.org/packages/kancilphp/framework)[ RSS](/packages/kancilphp-framework/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (16)Used By (0)

KancilPHP Framework
===================

[](#kancilphp-framework)

KISS PHP framework with pre-router caching and minimal dependencies.

Features
--------

[](#features)

- **Pre-router cache** — cache check before framework bootstrap, ETag + 304 support
- **Session-aware** — cache keys include user ID, no stale user data served
- **Module system** — self-contained Modules with Route/Controller/Model
- **Middleware** — per-route middleware with named groups
- **No bloat** — no service container, no facade, no artisan

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3

Install
-------

[](#install)

```
composer require kancilphp/framework
```

Structure
---------

[](#structure)

```
src/
├── App.php              → Route resolver + dispatcher
├── Auth.php             → JWT + password-based auth
├── Cache.php            → File / APCu / Redis
├── Config.php           → Simple key-value config
├── DB.php               → PDO wrapper with query builder
├── Gate.php             → Pre-router pipeline (error, session, cache)
├── Middleware.php       → Middleware runner
├── Request.php          → Input, params, method
├── Response.php         → JSON, HTML, redirect, error pages
├── Router.php           → URI matching + dispatch
├── Str.php              → String helpers
├── View.php             → Template rendering
├── Drivers/
│   ├── MySQL.php
│   └── PostgreSQL.php
└── helpers.php          → Global helpers (csrf, url, env, base64)

```

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md).

License
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Total

15

Last Release

45d ago

### Community

Maintainers

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

---

Top Contributors

[![komputronika](https://avatars.githubusercontent.com/u/20560991?v=4)](https://github.com/komputronika "komputronika (2 commits)")

### Embed Badge

![Health badge](/badges/kancilphp-framework/health.svg)

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

###  Alternatives

[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[alizharb/laravel-modular

A professional, framework-agnostic modular architecture for Laravel 11+. Features zero-config autoloading, 29+ Artisan command overrides, and seamless Vite integration.

211.6k9](/packages/alizharb-laravel-modular)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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