A tiny PHP class for building small websites.
PHP
Latest commit 311c962 Nov 26, 2011 @wlrs one space
Failed to load latest commit information.
hoistup.com one space Nov 26, 2011
hoist.php demo updates, code cleanup Nov 26, 2011
readme.md readme Nov 26, 2011

readme.md

Hoist

Hoist is a tiny PHP class that makes it ridiculously easy to build small websites.

Example

$pages = array(
    array(  
        'url'       =>  '/',
        'title'     =>  'My Website',
        'content'   =>  'pages/home.php',
        'groups'    =>  'nav',
        'nav_title' =>  'Home',
        'headline'  =>  'Welcome to my site!'
    ),
    array(
        'url'       =>  '/about_me',
        'content'   =>  'pages/about.php',
        'groups'    =>  'nav'
    ),
    array(
        'url'       =>  '/books',
        'content'   =>  'pages/books.php',
        'title'     =>  'My Favorite Books'
    )
);

require 'hoist.php';
$hoist = new hoist($pages);
$hoist->display();

Demo

hoistup.com is running on Hoist. You can view the source in this project.

Docs

Hoist guide