gregwar/plankton

Plankton: a pedagogical PHP pico-framework

v1.0.11 2014-09-03 20:21 UTC

This package is auto-updated.

Last update: 2024-03-24 03:09:44 UTC


README

This is a PHP pico framework (42 lines for the core, 100 including examples)

Features

It features:

  • An amazing route generator, with the path() and asset() functions
  • A tremendous templating system with the render() function
  • Splendid architecture of controllers
  • External powerful configuration
  • It example suggests a swaggy way to handle your database
  • Packaged with bootstrap

All that with bleeding edge performances

It also comes with some examples page, an index, a 404, a a page greeting you and a page listing films from database

It doesn't uses any third-party library, everything is in this repository, you can quickly read all its source code.

It also features a generic autoloader, so you can write your own classes and easily access it.

For more information, have a look at the blog post about Plankton

Documentation

  • RTFC = Read The Fucking Code

Controllers

RTFC

Configuration

RTFC

Database

RTFC

Templating

RTFC

Router

RTFC

LICENCE

This repository is under Beer-Ware licence