Build websites with PHP Thungthao Starter Code

Layouts, Pages, Components, Controllers, Composables, API and Global in a single structure

Layouts & Pages

File-mapped layouts & routes, easy to use

Components

Reusable UI components, includable in layouts and pages

Composables & Controllers

Reusable logic and server-side classes (DB ready)

API & Global

JSON APIs and a global.php hook that runs on every page

Try creating your homepage

<?php
 $config = getConfig();
 $setHead(<<<HTML
 <title> Home - {$config['web']['name']}</title>
 HTML);
 ?>
 <h1 class=\"text-2xl font-bold\">ยินดีต้อนรับ</h1>