PHPackages                             joecharika/hyper-php - 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. joecharika/hyper-php

ActiveLibrary[Framework](/categories/framework)

joecharika/hyper-php
====================

Hyper, fast MVC framework for PHP

v2.x-dev(5y ago)11MITPHPPHP &gt;=7.3

Since Aug 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/chareka-legacy/hyper)[ Packagist](https://packagist.org/packages/joecharika/hyper-php)[ Docs](http://hyper.starlight.co.zw)[ RSS](/packages/joecharika-hyper-php/feed)WikiDiscussions master Synced 1w ago

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

Hyper Documentation v1.0.12
===========================

[](#hyper-documentation-v1012)

\--

Getting started
---------------

[](#getting-started)

TODOs
-----

[](#todos)

- Secure `web.json`

#### Create new Hyper app: index.php

[](#create-new-hyper-app-indexphp)

###### Import `HyperApp` class:

[](#import-hyperapp-class)

```
use Hyper\Application\HyperApp;
```

###### Import hyper file to enable most functions using `require`

[](#import-hyper-file-to-enable-most-functions-using-require)

```
require 'hyper/index.php';
```

###### Create and run the application

[](#create-and-run-the-application)

```
new HyperApp("", "auto");
```

###### Run app with custom sections

[](#run-app-with-custom-sections)

```
$customSections = ["hello-section"];
new HyperApp("", "auto", $customSections);
```

###### Run app with manual routing

[](#run-app-with-manual-routing)

```
//TODO: work on manual routing
```

###### Complete index.php

[](#complete-indexphp)

```
use Hyper\Application\HyperApp;

require 'Hyper/Index.php';

new HyperApp("", "auto");
```

###### Usage:

[](#usage)

```
//Put section where you want it to be rendered. Usually layout.php

//Put section content from other views

```

##### Config

[](#config)

Hyper configurations are stored in `web.json` or your own `JSON` file

###### Database connection

[](#database-connection)

To configure a database, add a `db` object in the config file `web.json`

For example:

```
{
  "db": {
    "host": "localhost",
    "port": 80,
    "database": "",
    "username": "root",
    "password": ""
  }
}
```

###### Debug

[](#debug)

To turn on/off debug mode set `debug` property to `json`For example:

```
{
  "debug": true
}
```

###### Custom error pages

[](#custom-error-pages)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance60

Regular maintenance activity

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% 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 ~258 days

Total

2

Last Release

1841d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e270292643f0d9a467ac1010400d65143f8104b15eaafc4bdbb29d16efaa12d6?d=identicon)[joechark](/maintainers/joechark)

---

Top Contributors

[![jcharika](https://avatars.githubusercontent.com/u/42941541?v=4)](https://github.com/jcharika "jcharika (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

fastframeworkhypermvcphpphp-mvcphp-query-builderphp-routingtwig-templatesmvchyperlight-weight

### Embed Badge

![Health badge](/badges/joecharika-hyper-php/health.svg)

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

###  Alternatives

[xsanisty/slim-starter

Slim Framework in MVC environment with Eloquent as database provider and Twig as template engine

2852.1k](/packages/xsanisty-slim-starter)[vectorface/snappy-router

A quick and snappy routing framework.

4614.7k](/packages/vectorface-snappy-router)[wave-framework/wave

Wave is a lightweight PHP MVC framework

2625.0k1](/packages/wave-framework-wave)

PHPackages © 2026

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