use PHPTheme\Theme; $theme = new Theme("my_theme");
$theme->addAsset("css/style.css", "css"); $theme->addAsset("js/script.js", "js");
$data = array("title" => "My Title", "body" => "My Content"); echo $theme->render("my_template", $data);Overall, PHP Theme is a powerful package library that simplifies the process of creating and managing themes in PHP web applications. It provides a straightforward syntax for creating, registering, and rendering templates, making it an excellent choice for developers who want to focus on the logic layer of their application.