PHPackages                             canteen/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. canteen/framework

AbandonedArchivedLibrary[Framework](/categories/framework)

canteen/framework
=================

PHP site framework for building JSON-driven, stateless websites built on Flight PHP

1.2.2(12y ago)0287MITPHPPHP &gt;=5.4.0

Since Oct 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Canteen/CanteenFramework)[ Packagist](https://packagist.org/packages/canteen/framework)[ Docs](http://github.com/Canteen/CanteenFramework)[ RSS](/packages/canteen-framework/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

\#Canteen Framework

Small PHP framework for building JSON-driven, stateless websites. For documentation of the codebase, please see [Canteen Framework docs](http://canteen.github.io/CanteenFramework/).

\##Usage

For an example of usage please see the [Canteen Boilerplate](https://github.com/Canteen/CanteenBoilerplate) project.

\##Installation

Install is available using [Composer](http://getcomposer.org).

```
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](http://yui.github.io/yuidoc/). To install YUIDoc, run `sudo npm install yuidocjs`. Also, this requires the project [CanteenTheme](http://github.com/Canteen/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](http://github.com/bigtimebuddy)

Released under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

4598d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

1.1.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8c8b26b4bef66000886f554f9498714eddf11bdc41673d33a0f6365a82f293b?d=identicon)[bigtimebuddy](/maintainers/bigtimebuddy)

---

Top Contributors

[![bigtimebuddy](https://avatars.githubusercontent.com/u/864393?v=4)](https://github.com/bigtimebuddy "bigtimebuddy (52 commits)")

---

Tags

jsonframeworkHTML5cms

### Embed Badge

![Health badge](/badges/canteen-framework/health.svg)

```
[![Health](https://phpackages.com/badges/canteen-framework/health.svg)](https://phpackages.com/packages/canteen-framework)
```

###  Alternatives

[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.1k215.3k37](/packages/hprose-hprose)[lanin/laravel-api-debugger

Easily debug your JSON API.

2311.8M](/packages/lanin-laravel-api-debugger)[hprose/hprose-swoole

Hprose asynchronous client &amp; standalone server based on swoole

17928.9k9](/packages/hprose-hprose-swoole)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
