PHP GUI API is a package that renders HTML pages composed programmatically. It is designed in a similar fashion to Java's GUI package, but it is for HTML components rather than desktop applications. It consists of a set of classes that wrap around several types of HTML page components and CSS elements that can be composed and configured programmatically to generate whole pages. The classes render the page by generating HTML for each element and the contained elements. It provides classes for wrapping paragraphs, divisions (div), input fields, forms, tables, images, links, etc.
PySite is not a CMS in the traditional sense. Rather, you manage the contents of a Web site via a file manager interface, which gives you access to all settings (pages, styles, plugins, etc.). Compose your pages with Jinja templates, and edit your code comfortably with syntax highlighting in the ACE editor. You may write your stylesheets in Sass and let the integrated compiler write CSS files. PySite also contains a facility to manage virtual mailboxes, in case you maintain your own SMTP and IMAP server, e.g. with Postfix and Dovecot.