PHPackages                             litephp/core - 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. litephp/core

ActiveLibrary[Framework](/categories/framework)

litephp/core
============

LitePHP - A lightweight PHP framework

v1.1.3(1w ago)026↓65.1%1MITPHPPHP &gt;=8.1CI passing

Since Jun 16Pushed 1w agoCompare

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

READMEChangelog (7)Dependencies (2)Versions (6)Used By (1)

LitePHP Core
============

[](#litephp-core)

The framework engine powering LitePHP applications. This package contains all the internals — routing, HTTP, database, auth, validation, events, queue, and more. It is not meant to be used directly; start from the [app template](https://github.com/Lazycoder229/litephp-app.git) instead.

\*\*PHP 8.1+ · Zero runtime dependencies · \*\*

---

What's inside
-------------

[](#whats-inside)

```
Bootstrap/
├── app.php         Application bootstrap (container, router, session, kernel)
└── container.php   Service bindings for the IoC container

Core/
├── Auth/           JwtGuard, TokenGuard, Auth, Gate, PasswordReset
├── Cache/          File-based cache driver
├── Config/         Env loader, Config registry
├── Console/        CLI kernel + command base
├── Database/       QueryBuilder, Model, Factory, Migration, Seeder, SoftDeletes, Schema
├── Events/         EventDispatcher
├── Exceptions/     Global error/exception handler
├── Facades/        Route facade
├── Http/           Request, Response, JsonResponse, Kernel, Paginator, UploadedFile, FormRequest, Client
├── Mail/           Mailer, Mailable
├── Middleware/     CSRF, CORS, SecurityHeaders, Throttle, Pipeline, MiddlewareManager
├── Queue/          Job, Queue, QueueWorker
├── Routing/        Router, Route, RouteCache
├── Support/        Arr, Collection, Str, Hash, Storage, Facade, ServiceProvider
├── Validation/     Validator, Rule, Rules (Boolean, Confirmed, Date, Email, In, Integer,
│                   Max, Min, Nullable, Numeric, Regex, Required, Sometimes, Unique, Url)
├── View/           Compiler (Blade-inspired template engine)
├── Container.php   IoC container with auto-resolution
├── Database.php    PDO wrapper
├── Session.php     Session manager
└── helpers.php     Global helper functions

```

---

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

[](#installation)

This package is installed automatically when you create a new app via Composer:

```
composer create-project litephp/app my-app
```

To add it to an existing project manually:

```
composer require litephp/core
```

**Requirements:** PHP 8.1+, PDO extension, Fileinfo extension

---

For app developers
------------------

[](#for-app-developers)

If you want to build an application with LitePHP, use the **app template** — not this package directly:

👉

The app template includes the project structure, bootstrap sequence, example controller, routes, views, middleware, and the `php lite` CLI — everything you need to start building.

---

For contributors
----------------

[](#for-contributors)

See [CONTRIBUTING.md](CONTRIBUTING.md) for how to set up the development environment, coding standards, and the PR process.

---

Security
--------

[](#security)

See [SECURITY.md](SECURITY.md) for the full list of built-in security protections and how to report vulnerabilities responsibly.

---

Running tests
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit --testdox
```

---

License
-------

[](#license)

MIT — see [LICENSE](LICENSE) for details.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

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

Total

4

Last Release

12d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37ab34e64be10868553c849c21a933572faff385a9a32768538c93cb714d3d0c?d=identicon)[Lazycoder229](/maintainers/Lazycoder229)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)
