PHPackages                             zems/munlite - 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. zems/munlite

ActiveProject[Framework](/categories/framework)

zems/munlite
============

Munlite is lite weight php framework

v1.0.1(1mo ago)4173MITPHP

Since Apr 15Pushed 1mo agoCompare

[ Source](https://github.com/zemsuk/munlite)[ Packagist](https://packagist.org/packages/zems/munlite)[ RSS](/packages/zems-munlite/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

munlite
=======

[](#munlite)

Munlite is a PHP framework. It's a light weight framework. Ideal for Headless CMS.

Query Builder Examples (Content Model)
--------------------------------------

[](#query-builder-examples-content-model)

### Get All Records

[](#get-all-records)

```
Content::get();
```

### Find by ID

[](#find-by-id)

```
Content::find(1);
Content::where('id', 1)->first();
```

### Select Specific Columns

[](#select-specific-columns)

```
Content::select('id', 'title', 'details')->get();
```

### Where Condition

[](#where-condition)

```
Content::where('status', 1)->get();
Content::where('type', '=', 'news')->get();
```

### Multiple Where Conditions

[](#multiple-where-conditions)

```
Content::where('status', 1)->where('type', 'news')->get();
```

### Or Where

[](#or-where)

```
Content::where('status', 1)->orWhere('type', 'blog')->get();
```

### Where In

[](#where-in)

```
Content::whereIn('id', [1, 2, 3, 4, 5])->get();
Content::whereIn('type', ['news', 'blog'])->get();
```

### Where Between

[](#where-between)

```
Content::whereBetween('id', [1, 10])->get();
```

### Order By

[](#order-by)

```
Content::orderBy('id', 'DESC')->get();
Content::where('status', 1)->orderBy('title', 'ASC')->get();
```

### Group By

[](#group-by)

```
Content::select('type', 'COUNT(*) as total')->groupBy('type')->get();
```

### Limit &amp; Offset (Pagination)

[](#limit--offset-pagination)

```
Content::orderBy('id', 'DESC')->limit(10)->offset(0)->get();
```

### Join

[](#join)

```
User::select('user.id', 'user.name', 'content.title')
    ->leftJoin('content', 'user.id', '=', 'content.user_id')
    ->get();
```

### Aggregate Functions

[](#aggregate-functions)

```
Content::count();
Content::count('id');
Content::where('status', 1)->count();
Content::max('id');
Content::min('id');
Content::avg('id');
Content::sum('id');
```

### Create Record

[](#create-record)

```
Content::create([
    'title' => 'New Post',
    'details' => 'Content details here',
    'type' => 'news',
    'status' => 1
]);
```

### Update Record

[](#update-record)

```
Content::where('id', 1)->update([
    'title' => 'Updated Title',
    'details' => 'Updated details'
]);

Content::where('status', 0)->update([
    'status' => 1
]);
```

### Delete Record

[](#delete-record)

```
Content::where('id', 1)->delete();
Content::where('status', 0)->delete();
```

### Chained Example

[](#chained-example)

```
Content::select('id', 'title', 'details')
    ->where('status', 1)
    ->whereIn('type', ['news', 'blog'])
    ->orderBy('id', 'DESC')
    ->limit(10)
    ->get();
```

### Raw Queries in whereIn/whereBetween

[](#raw-queries-in-whereinwherebetween)

```
Content::whereIn('id', [1, 2, 3])->get();
Content::orWhereIn('id', [4, 5, 6])->get();
Content::whereBetween('id', [1, 10])->get();
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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 ~758 days

Total

2

Last Release

51d ago

### Community

Maintainers

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

---

Top Contributors

[![zemsuk](https://avatars.githubusercontent.com/u/100041965?v=4)](https://github.com/zemsuk "zemsuk (5 commits)")[![afrojazad](https://avatars.githubusercontent.com/u/26723303?v=4)](https://github.com/afrojazad "afrojazad (1 commits)")[![hossainzamir](https://avatars.githubusercontent.com/u/169713268?v=4)](https://github.com/hossainzamir "hossainzamir (1 commits)")[![nazmunlite](https://avatars.githubusercontent.com/u/169195409?v=4)](https://github.com/nazmunlite "nazmunlite (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M297](/packages/laravel-dusk)[nineinchnick/edatatables

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

173.2k](/packages/nineinchnick-edatatables)[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)
