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

ActiveLibrary

lightphp/lightphp
=================

LightPHP simple request and response framework

226[2 issues](https://github.com/samstreet/lightphp/issues)PHP

Since Jun 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/samstreet/lightphp)[ Packagist](https://packagist.org/packages/lightphp/lightphp)[ RSS](/packages/lightphp-lightphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lightphp
========

[](#lightphp)

About
-----

[](#about)

A lightweight PHP framework built with scalability in mind.

How to use
----------

[](#how-to-use)

Framework comes pre loaded with an index route and a core service.

### Start

[](#start)

- Composer install to autoload the required files
- Vagrant up from project route
- Navigate to `http://127.0.0.1:8080/`
- Enjoy

### Create config file (config/config.php:

[](#create-config-file-configconfigphp)

- routes
- services

```
return [
   'routes' => [
       [
           'method' => ['GET'],
           'name' => 'index',
           'route' => '/',
           'callable' => [
               'controller' => 'LightPHP\MVC\Controller\IndexController',
               'namespace' => 'LightPHP\MVC\Controller',
               'action' => 'index',
               'view' => 'index/index'
           ]
       ],
   ],
   'services' => [
       'core_service' => 'LightPHP\Services\CoreService'
   ],
];
```

Future Updates
--------------

[](#future-updates)

- Unit testing
- Performance improvements
- Check availble methods for a route
- Authorization
- Dynamic routing

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/004b1e5df2297deef1eda481a0e2444b9f723bf13971d3676e5ae713814d4fef?d=identicon)[samstreet](/maintainers/samstreet)

### Embed Badge

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

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

PHPackages © 2026

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