Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A tiny PHP class for building small websites.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 hoistup.com
Octocat-spinner-32 hoist.php
Octocat-spinner-32 readme.md
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

Something went wrong with that request. Please try again.