Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.
/ CanteenFramework Public archive

Canteen is a light-weight PHP framework for building modern, flexible, asynchronous websites.

License

Notifications You must be signed in to change notification settings

Canteen/CanteenFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Canteen Framework

Small PHP framework for building JSON-driven, stateless websites. For documentation of the codebase, please see Canteen Framework docs.

##Usage

For an example of usage please see the Canteen Boilerplate project.

##Installation

Install is available using Composer.

composer require canteen/framework dev-master

###Contents of index.php

// Include the Composer autoloader
require 'vendor/autoload.php';

// Create a new Canteen Site
$site = new Canteen\Site();

// Render the page
$site->render();

###Rebuild Documentation

This library is auto-documented using YUIDoc. To install YUIDoc, run sudo npm install yuidocjs. Also, this requires the project CanteenTheme be checked-out along-side this repository. To rebuild the docs, run the ant task from the command-line.

ant docs

##License##

Copyright (c) 2013 Matt Karl

Released under the MIT License.

About

Canteen is a light-weight PHP framework for building modern, flexible, asynchronous websites.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages