/trob

A simple PHP framework with common tools

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Trob

Trob is a small PHP framework with the following components:

  1. Smarty
  2. Krumo
  3. DBQuery
  4. JQuery
  5. Bootstrap

The primary goal is to provide a simple template based PHP platform with access to common tools. All of these tools are optional, but enabled by default to facilitate rapid development.

Usage

Clone this repo and point a new .php file at Trob

include("/path/to/trob/trob.class.php");
$trob = new trob;

$trob->assign("output", "Hello world!");
$trob->display();

Then create a smarty template file in a tpls/ directory with a .stpl extension.