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.