Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/scottchiefbaker/trob
- Owner: scottchiefbaker
- License: gpl-3.0
- Created: 2020-06-16T18:02:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T16:52:28.000Z (8 months ago)
- Last Synced: 2024-03-06T18:40:07.487Z (8 months ago)
- Language: PHP
- Size: 1.64 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.