PHPackages                             phptree/phptree - 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. phptree/phptree

ActiveProject[Framework](/categories/framework)

phptree/phptree
===============

The world's lightweight PHP framework

1.0.16(2y ago)141MITPHP

Since Apr 30Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dninjacom/PHPTree)[ Packagist](https://packagist.org/packages/phptree/phptree)[ RSS](/packages/phptree-phptree/feed)WikiDiscussions main Synced 1mo ago

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

[![](https://camo.githubusercontent.com/16b0ee8f4e6593b9876609246aae6c6ecc6a67ece2cca69a0b82b94a5d15c5bf/68747470733a2f2f7777772e706870747265652e6f72672f6173736574732f696d672f6170706c652d746f7563682d69636f6e2e706e67)](https://camo.githubusercontent.com/16b0ee8f4e6593b9876609246aae6c6ecc6a67ece2cca69a0b82b94a5d15c5bf/68747470733a2f2f7777772e706870747265652e6f72672f6173736574732f696d672f6170706c652d746f7563682d69636f6e2e706e67)

[PHPTree](https://www.phptree.org)
==================================

[](#phptree)

The world's lightweight PHP framework

We promise , it will always remain simple to understand and fast to perform . 🫡

---

Installation
------------

[](#installation)

Install a fresh new PHPTree Project with examples using [Composer](https://getcomposer.org/).

```
composer create-project phptree/phptree
```

Life is simple! 😍

Project settings
----------------

[](#project-settings)

```
project ( Private directory )
├── public_html ( Project public directory )
│   └── index.php
└── .env.json ( Hidden project settings file )
```

Server Requierments
-------------------

[](#server-requierments)

- PHP &gt;= 8.0.0
- PDO PHP Extension
- OpenSSL PHP Extension

Inside the framework
--------------------

[](#inside-the-framework)

- [Routing](https://www.phptree.org#route_basics)
- [SQL/PDO](https://www.phptree.org#mysql_pdo)
- [Logger](https://www.phptree.org#env_logs)
- [Debugger](https://www.phptree.org#debugger)
- [Secure](https://www.phptree.org#secure_request)
- [JWT](https://www.phptree.org#secure_jwt)
- [Redis](https://www.phptree.org#caching_redis)
- [Memcached](https://www.phptree.org#caching_memcached)
- [Files cache](https://www.phptree.org#caching_file)

Documentation
-------------

[](#documentation)

[Read More](https://www.phptree.org) 📖

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Recently: every ~19 days

Total

10

Last Release

995d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be8b8bd7c5a86a35af0472d107199f9b2a7ac7ac77187acb90c41bfe3d6d0580?d=identicon)[Kodr.Fouani](/maintainers/Kodr.Fouani)

---

Top Contributors

[![Khodour](https://avatars.githubusercontent.com/u/7107403?v=4)](https://github.com/Khodour "Khodour (18 commits)")

---

Tags

phpphp-projectphptreesample-phpcode-phpphptree.org

### Embed Badge

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

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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