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

ActiveProject[Framework](/categories/framework)

lamdaphp/lamdaphp
=================

LamdaPHP lightWeight modular PHP framework with rendering data realtime.

v1.0.9(4mo ago)238MITPHPPHP &gt;=8

Since Jan 27Pushed 4mo agoCompare

[ Source](https://github.com/sariaRiski02/lamdaphp-framework)[ Packagist](https://packagist.org/packages/lamdaphp/lamdaphp)[ Docs](https://github.com/sariaRiski02/lamdaphp-framework)[ RSS](/packages/lamdaphp-lamdaphp/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (12)Used By (0)

LamdaPHP
========

[](#lamdaphp)

Documentation : LamdaPHP is a lightweight, modular PHP micro-framework inspired by Laravel’s expressive syntax — **BUT WAIT**, before you expect something huge, let me be clear:

⚠️ **This is not a big framework.
⚠️ This is not a serious production-ready project.
⚠️ This is an *enjoy project*.**

I built LamdaPHP because:

- I love understanding how frameworks work under the hood,
- I enjoy experimenting with architecture patterns,
- and… yeah, I accidentally turned this into my \*\*final Undergraduate Final Project \*\* 😅

So if you're here expecting Symfony 2.0… bro, you're in the wrong repo.
If you’re here to learn, explore, or see a simple framework growing from scratch — welcome 🤝

---

✨ What is LamdaPHP?
-------------------

[](#-what-is-lamdaphp)

LamdaPHP is a **micro-framework** with:

- Minimal routing system
- Request &amp; Response abstraction
- Clean modular structure
- Laravel-like facade syntax
- Flexible handlers (closure, array callbacks, `"Controller@method"`)
- Built-in realtime support (SSE under construction)
- Zero external dependencies (pure PHP)

It’s designed to be **understandable**, not **massive**.

Think of it like building your own small Laravel, but without the 900+ internal classes 🤣

---

📦 Project Goals (a.k.a. why I spent nights on this)
---------------------------------------------------

[](#-project-goals-aka-why-i-spent-nights-on-this)

- Learn how modern frameworks are architected
- Build something small but extensible
- Understand routing, dispatching, request lifecycle
- Explore facade pattern &amp; modular separation
- Make my research advisor think I’m smart 😎
- Have fun

---

🗂️ Project Structure
--------------------

[](#️-project-structure)

```

src/
    Core/  -> it will separate later
        Routing/
        Http/
        Support/
            Facades/
            ....
app/
Controllers/
routes/
    web.php
public/
    index.php

```

This follows PSR-4 autoloading with:

- `Lamda\` → `src/`
- `App\` → `app/`

---

🚀 Quick Start
-------------

[](#-quick-start)

Run local server:

```
php -S localhost:8000 -t public
```

### ⚠️ Server Requirements

[](#️-server-requirements)

For real-time features (SSE), use **Nginx** or **Apache** instead of PHP's built-in server:

```
# Built-in server (single-threaded, not recommended)
php -S localhost:8000 -t public

# Use Nginx or Apache for production/real-time features
```

The built-in PHP server handles only one request at a time, which breaks real-time functionality. Yeah, it's that bad.

```
# Windows: Use Apache (recommended)
# Linux: Use multi-worker PHP server
PHP_CLI_SERVER_WORKERS=4 php -S localhost:8000 -t public
```

**Note:** On Windows, the built-in server doesn't support multiple workers — Apache or Nginx it is. On Linux, you can use the `PHP_CLI_SERVER_WORKERS` environment variable to handle multiple concurrent requests.

**macOS:** No docs yet. I’m a student, my wallet is on life support, and a Mac is currently a legendary creature I read about in books. So the macOS setup will stay mysterious for now. 🍎💸🎓

🧠 Why modular?
--------------

[](#-why-modular)

Because I want each part to be a “lego block”:

- Routing → 1 module
- HTTP → 1 module
- View Engine → future module
- WebSocket → (under cunstructor) maybe i dont want to impementation this feature hehe...
- SSE → yee.. i was implemented this feature

Makes the code super clean and fun to hack on.

---

💬 Final Notes
-------------

[](#-final-notes)

If you cloned this repo to judge its architecture:

> Nice, I appreciate it.

If you cloned this repo to use it in production:

> Bro… don’t 😭

If you cloned this repo because you're also building your own framework:

> Welcome to the club. Bring snacks. 🍿

---

### 🫶 Credits

[](#-credits)

Developed by **Muhammat Rizky Saria**A student who loves PHP too much, Love Design Pattern and decided to turn a fun project into a Undergraduate Final Project.

```

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance75

Regular maintenance activity

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

10

Last Release

137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/862982dfed6fb2aa116f605aace9f14e8d85ae4512c131cf6041b422624261f8?d=identicon)[sariaRiski02](/maintainers/sariaRiski02)

---

Top Contributors

[![sariaRiski02](https://avatars.githubusercontent.com/u/126057164?v=4)](https://github.com/sariaRiski02 "sariaRiski02 (74 commits)")

---

Tags

frameworkphp frameworklightweight php frameworkmodular PHP frameworklamdaphprealtime php framework

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[popphp/popphp-framework

The Pop PHP Framework - Full Installation

687.4k2](/packages/popphp-popphp-framework)

PHPackages © 2026

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