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

ActiveLibrary[Framework](/categories/framework)

madeawsri/lai-framework
=======================

A lightweight PHP framework

v1.0.0(1y ago)02MITPHP

Since Feb 6Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

lai-framework
=============

[](#lai-framework)

Lai Framework เป็น PHP framework ขนาดเล็กและเร็วที่พัฒนาโดยใช้แนวคิดของความเรียบง่ายและประสิทธิภาพสูง

Lai Framework
=============

[](#lai-framework-1)

**Lai Framework** is a small, fast, and lightweight PHP framework designed for simplicity and performance. It allows developers to build web applications with minimal setup and effort while maintaining flexibility and scalability.

Features
--------

[](#features)

- **Fast and Lightweight**: Built for speed and efficiency, reducing unnecessary processing.
- **Modular Structure**: Organize your app in modules, making it easy to extend without affecting core logic.
- **Easy Routing**: Simple routing system that handles HTTP requests and maps them to appropriate controllers.
- **Blade Templating Engine**: Uses Blade for easy view management, layouts, partials, and components.
- **Helper Functions**: Provides commonly used functions to simplify your codebase.

Directory Structure
-------------------

[](#directory-structure)

```
demo/
├── index.php                # Entry point for the application
├── .htaccess                # URL rewrite configuration (for Apache)
├── core/
│   └── Router.php           # Router for dispatching routes
├── helpers/
│   └── Utility.php          # Utility functions for general use
├── App/
│   └── Modules/
│       └── home/
│           ├── HomeCtrl.php   # Controller for Home module
│           └── views/
│               └── home.blade.php # View for Home module
└── resources/
    ├── views/
    │   ├── layouts/
    │   │   └── app.blade.php  # Main layout for all pages
    │   ├── parts/             # Partials (e.g., header, footer)
    │   ├── components/        # Reusable components (e.g., alerts, cards)
    └── cache/                  # Blade cache directory
```

### Explanation:

[](#explanation)

- `index.php`: เป็นไฟล์ที่เริ่มต้นโปรเจคและจะทำหน้าที่ในการเรียกใช้งาน Router เพื่อจัดการ Routing
- `.htaccess`: ไฟล์ตั้งค่าการ Rewrite URL ถ้าใช้ Apache
- `core/Router.php`: ควบคุมการ Route และการเรียก Controller
- `helpers/Utility.php`: ฟังก์ชันที่ใช้ช่วยในโปรเจคทั่วไป
- `App/Modules/home/`: โมดูลสำหรับ `home` ซึ่งประกอบด้วย Controller และ View
- `resources/views/`: โฟลเดอร์ที่เก็บ Blade templates
    - `layouts/`: Layout หลักของทุกๆ หน้า
    - `parts/`: Partial views เช่น header, footer
    - `components/`: Components ที่สามารถใช้ซ้ำได้ เช่น alert, card
    - `cache/`: ที่เก็บ Cache ของ Blade

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance40

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Unknown

Total

1

Last Release

512d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[doppar/framework

The Doppar Framework

4012.4k14](/packages/doppar-framework)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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