PHPackages                             mathsgod/puxt - 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. mathsgod/puxt

ActiveFramework

mathsgod/puxt
=============

PHP framework

3.2.0(1y ago)05102MITPHPPHP &gt;=8.0.2

Since Dec 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mathsgod/puxt)[ Packagist](https://packagist.org/packages/mathsgod/puxt)[ RSS](/packages/mathsgod-puxt/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (10)Dependencies (17)Versions (71)Used By (2)

puxt
====

[](#puxt)

Setup
-----

[](#setup)

Create pages folder and add index.php file

```
use Laminas\Diactoros\Response\HtmlResponse;
return new class{
    public function get(){
        return new HtmlResponse("Hello world");
    }
}
```

It will output `Hello world` in the browser when reqeust to `/` path.

Debug
-----

[](#debug)

Set the `DEBUG` environment variable to `true` to enable debug mode.

```
DEBUG=true
```

Exception format
----------------

[](#exception-format)

Set the `DEBUG_EXCEPTION_FORMAT` environment variable to `json` to enable exception format.

```
DEBUG_EXCEPTION_FORMAT=json
```

Base path of uri
----------------

[](#base-path-of-uri)

Set the `BASE_PATH` environment variable to change the base path. For example, set `BASE_PATH` to `api` will change the base path to `/api`.

```
BASE_PATH=api
```

Route strategy
--------------

[](#route-strategy)

Set the `ROUTE_STRATEGY` environment variable to change the route strategy.

```
ROUTE_STRATEGY=json
```

### HTML header

[](#html-header)

It will change the html title to `Custom title`.

```
use function PUXT\useHead;

//call this function in the get method of the page
useHead([
    "title" => "Custom title",
]);
```

### .htaccess

[](#htaccess)

```
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php [L]

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance42

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

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

Recently: every ~131 days

Total

70

Last Release

463d ago

Major Versions

1.13.0 → 2.0.02021-12-01

2.7.4 → 3.0.02023-01-09

PHP version history (5 changes)1.0.1PHP ^7.0

1.6.1PHP ^7.0|^8.0

1.11.0PHP ^7.3 || ~8.0.0

3.0.3PHP &gt;=7.3 || &gt;=8.0

3.2.0PHP &gt;=8.0.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18732337?v=4)[Raymond](/maintainers/mathsgod)[@mathsgod](https://github.com/mathsgod)

---

Top Contributors

[![mathsgod](https://avatars.githubusercontent.com/u/18732337?v=4)](https://github.com/mathsgod "mathsgod (256 commits)")

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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