CommonPHP UI is the standalone rendering and component package for CommonPHP applications. It defines view objects, template metadata, layouts, reusable components, renderer contracts, and a native PHP template renderer.
The package is intentionally renderer-neutral. Applications can use the built-in PHP renderer, or install a driver such as Twig that implements RendererInterface.
Entry points:
CommonPHP\UI\ViewFactoryCommonPHP\UI\Drivers\NativePhpRenderer
View objects:
CommonPHP\UI\ViewCommonPHP\UI\ViewDataCommonPHP\UI\TemplateCommonPHP\UI\LayoutCommonPHP\UI\ComponentCommonPHP\UI\ComponentRegistry
Contracts:
CommonPHP\UI\Contracts\RendererInterfaceCommonPHP\UI\Contracts\AbstractRendererCommonPHP\UI\Contracts\TemplateInterfaceCommonPHP\UI\Contracts\LayoutInterfaceCommonPHP\UI\Contracts\ComponentInterfaceCommonPHP\UI\Contracts\ComponentRegistryInterface
Exceptions:
CommonPHP\UI\Exceptions\UIExceptionCommonPHP\UI\Exceptions\RenderExceptionCommonPHP\UI\Exceptions\TemplateNotFoundExceptionCommonPHP\UI\Exceptions\InvalidComponentExceptionCommonPHP\UI\Exceptions\RendererDriverException