Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scottchiefbaker/trob

A simple PHP framework with common tools
https://github.com/scottchiefbaker/trob

Last synced: 26 days ago
JSON representation

A simple PHP framework with common tools

Awesome Lists containing this project

README

        

Trob
====

Trob is a small PHP framework with the following components:

1. [Smarty](https://www.smarty.net/)
2. [Krumo](https://github.com/mmucklo/krumo)
3. DBQuery
4. [JQuery](https://jquery.com/)
5. [Bootstrap](https://getbootstrap.com/)

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.