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. [Framework](/categories/framework)
4. /
5. mathsgod/puxt

ActiveFramework[Framework](/categories/framework)

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

PHP framework

3.2.0(1y ago)05122MITPHPPHP &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 3w 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

37

—

LowBetter than 81% of packages

Maintenance40

Moderate activity, may be stable

Popularity13

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

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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.1k2.2M66](/packages/spiral-framework)

PHPackages © 2026

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