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

ActiveProject

terablaze/terablaze
===================

A lightning fast feature-rich PHP MVC framework Edit

537PHPCI failing

Since Jan 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/terablaze/terablaze)[ Packagist](https://packagist.org/packages/terablaze/terablaze)[ RSS](/packages/terablaze-terablaze/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Terablaze
=========

[](#terablaze)

Terablaze is a PHP MVC framework for developing web applications. It is an open source framework released under MIT License.

Installation, Configuration and Running
---------------------------------------

[](#installation-configuration-and-running)

### Requirements

[](#requirements)

1. Web server
2. PHP
3. MySQL (*optional*)
4. Composer

### Installation.

[](#installation)

#### 1. Via Composer (*recommended*)

[](#1-via-composer-recommended)

Navigate to the desired web-accessible folder on your server and run the following command from the command line.

```
composer create-project terablaze/terablaze ./

```

to install in the current folder or

```
composer create-project terablaze/terablaze project-folder

```

to install in the 'project-folder'

### Configuration

[](#configuration)

First, create a `.env` file using the `.ent.template` file as a guide

Though the default **Terablaze** configuration settings is enough to get you started, it is advisable and in some cases compulsory to go through the `config` directory and configure accordingly.

### Running

[](#running)

Navigate to your project's root folder via the command line and run

```
php -S localhost:8000

```

visit `http://localhost:8000` in your browser.

If you are not using the build in PHP server, visit your installation folder in your browser through your server *(could be a live domain, remote ip or localhost if you are running on a local machine)*.

If you see the **Terablaze** welcome page without errors, then your installation is successful.

The controller to the welcome page is `src/App/Controller/WelcomeController.php` and the view file is `src/App/views/welcome.php`

Using
-----

[](#using)

### Controllers

[](#controllers)

Create your controllers in the `src/App/Controller` folder (You can use any directory as long as the Controller namespace/class matches the directory/file path).

Your controller class should extend the base controller `\Terablaze\Controller\Controller` to have access to some nice features the base controller offers

### Models

[](#models)

Create your models in the `src/App/Model` folder (You can use any directory as long as the Model namespace/class matches the directory/file path).

Your model class should extend the base model`\Terablaze\Ripana\ORM\Model`

### Views

[](#views)

Create your views in the `src/App/views` folder.

To load your view files, simply use

`$viewContent = $this->renderView('App::view_file_with_or_without_extension')`or `return $this->render('App::view_file_with_or_without_extension');`to return a response instance with loaded view as content body

Pass an optional second argument which is an array and is extracted internally and therefore available in the view as variables.

For instance:

```
$data = [
    'name' = 'Terablaze',
    'type' = 'MVC Framework',
    'language' = 'PHP'
];

$this->renderView('App::home', $data);

```

The code above will make the variables `$name`, `$type` and `$language` available in the `src/App/views/home.php` view file

To load a view from within another view, use `$this->includeView('App::included_view_file')`, this allows the included view have access to the variables extracted in the parent view

Stability status
----------------

[](#stability-status)

It is very important to note that this framework is currently very unstable and may change frequently for now. As much as we use it in several live projects(from really simple projects to very big and complex projects), we do not advise you to use in a production environment unless you are sure of what you're doing and you're willing to invest the time.

Contributing
------------

[](#contributing)

Simply fork the project and make pull requests. Try to go through the code to not deviate too much from our code style.

If you are interested in joining the development team, simply mail `tomiwa@teraboxx.com`

Note that the email used here will likely change soon.

###  Health Score

17

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![tomiwahq](https://avatars.githubusercontent.com/u/19550920?v=4)](https://github.com/tomiwahq "tomiwahq (39 commits)")

### Embed Badge

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

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

PHPackages © 2026

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