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)11[1 PRs](https://github.com/chareka-legacy/hyper/pulls)MITPHPPHP &gt;=7.3CI failing

Since Aug 18Pushed 3w 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 3w ago

READMEChangelog (1)Dependencies (2)Versions (6)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

30

—

LowBetter than 62% of packages

Maintenance62

Regular maintenance activity

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

1886d 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

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)

PHPackages © 2026

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