← Marketplace preview

LiteRoute PHP Starter Kit

A Brokie edition built on a lightweight PHP micro-framework (~90 KB core, GPL) for building dynamic web applications with routing, views, sessions, caching, and lightweight data mappers.

Who should buy this? PHP developers who want a minimal framework without Laravel's footprint — agencies shipping small apps, API backends, admin tools, and learners exploring MVC-style PHP. Not intended for non-developers seeking a visual theme.

How F3 works technically

  1. Bootstrapindex.php loads lib/base.php, creating the Base singleton ($f3).
  2. Hive — Configuration and runtime values live in a key-value hive ($f3->set() / get()), including INI from config.ini.
  3. Routing — Routes bind HTTP patterns to PHP callbacks; $f3->run() dispatches the request.
  4. Views — The View class renders .htm templates with PHP-style tags and includes.
  5. Data layer — Optional DB\SQL, DB\Jig, and DB\Mongo mappers provide ORM-lite persistence.

What works immediately

StepAction
1cd package && php -S localhost:8080 index.php
2Visit / — framework welcome + PHP module checklist
3Visit /demo — Brokie landing template rendered by F3
4Visit /api/health — JSON status for smoke tests

To launch live

Package contents

package/
  index.php       Front controller
  routes.php      Sample routes (edit here)
  config.ini      Framework settings
  lib/            fatfree-core (GPL-3.0)
  ui/             Templates + Brokie landing demo
  .htaccess       Apache rewrites
  LICENSE         GPL terms + attribution
  README-BROKIE.txt

License (GPL-3.0)

The bundled upstream micro-framework (bcosca/F3) is licensed under GNU GPL v3. Commercial use is allowed under GPL terms. If you distribute modified framework code, GPL copyleft applies. See package/LICENSE and lib/GPL-3.0.txt. Copyright: Christian Rossell (bcosca) and contributors.