PHPackages                             louisgjbertrand/phpfram - 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. louisgjbertrand/phpfram

ActiveProject

louisgjbertrand/phpfram
=======================

super lightweight php framework

v1.1.0.1(1y ago)031MITPHPPHP ^7.3.2 || ^8.0

Since Aug 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/LouisGJBertrand/PHPFram)[ Packagist](https://packagist.org/packages/louisgjbertrand/phpfram)[ RSS](/packages/louisgjbertrand-phpfram/feed)WikiDiscussions main Synced 1mo ago

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

Fram
====

[](#fram)

Super lightweight PHP framework with basic error handling and routing.

This framework give you a base to develop your web app.

This framework does not include anything superficial, it's bare-bones routing and file structure.

Requirements
============

[](#requirements)

Environment

```
- php v7.3.2 and above
- Composer

```

required libraries

```
- pecee/simple-router
- filp/whoops (dev)

```

Installation
============

[](#installation)

To create a project with this framework, execute the following composer command

`composer create-project louisgjbertrand/phpfram`

Usage
=====

[](#usage)

Starting the server
-------------------

[](#starting-the-server)

`php -S 127.0.0.1:8080 public/index.php`

Adding routes
-------------

[](#adding-routes)

in routes/routes.php

```
