PHPackages                             bchubbweb/phntm - 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. bchubbweb/phntm

ActiveLibrary[Framework](/categories/framework)

bchubbweb/phntm
===============

A server side stack, focused on DX and simplicity

v0.1.0(2y ago)010MITPHP

Since Apr 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bchubb-web/phntm)[ Packagist](https://packagist.org/packages/bchubbweb/phntm)[ RSS](/packages/bchubbweb-phntm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (2)Used By (0)

phntm
=====

[](#phntm)

A lightweight framework designed to feel like magic; handling the boring bits of a modern web application, as if something (or someone) is doing it for you.

Installation
------------

[](#installation)

To install require the package to your project:

```
composer require bchubbweb/phntm
```

Setup
-----

[](#setup)

Create a .htaccess file with the following contents at the base of your project

```
RewriteEngine On
RewriteCond %{REQUEST_URI}  !(\.png|\.jpg|\.webp|\.gif|\.jpeg|\.zip|\.css|\.svg|\.js|\.pdf|\.ttf)$
RewriteRule (.*) index.php [QSA,L]

```

Obviously you must then add index.php in the base of your project, to start, add the following contents:

```
