OneFileFramework is a complete MVC-capable framework encapsulated in a single PHP-file!

Static usage

This is how you install OFF if you just want a simple include script for static pages.

  1. Install the OFF index.php on your webserver
  2. Edit the configuration at the top of the file to match your site
  3. Make your wireframes/index.php (creating the directory and uploading it) or copy the one from the demo site and modify it to your own design.
  4. Create each subpage in views/. For each page you create you probably want to add it to the pagetitle list in the configuration for OFF and in your menu in wireframes/index.php

Yes, it really is that simple! :)