Tanuki: Lightweight PHP MVC Framework Built for Vanilla PHP Developers
A developer has released Tanuki, a lightweight PHP MVC framework designed for those who prefer writing plain PHP without the overhead of full-stack frameworks like Laravel or Symfony. The framework provides essential plumbing — routing, a thin PDO-based model layer, CSRF protection, session handling, and flash messages — without introducing ORMs, template engines, or dependency injection containers. Views are plain PHP files, routes are defined as simple arrays, and the entire request lifecycle can be read and understood in roughly ten minutes. Tanuki also includes a built-in i18n system using JSON dictionaries and optional URL-prefix-based language switching. A fully functional to-do app is bundled with the repository to serve as a practical learning reference.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in