CairoForPHP is an application that demonstrates several functions of the Cairo implementation for PHP. It uses a technique with which, from the same source, it can run both as a desktop application with PHP-GTK and as a Web application, thus demonstrating how PHP-GTK can be used as "just one" method of output and integrated into multi-platform, multi-environment applications. The samples in CairoForPHP are fully adjustable, and code can be "dropped-in" easily in the non-Phar versions: all required additional data interfaces are XML-based. The integrated samples come both pre-rendered and in live rendering, demonstrating both abilities of Cairo here and PHP-GTK's utilization with Cairo in the realization of it. CairoForPHP uses several technologies in order to achieve all this, such as XML-based data interfaces (including XML Schema validation), PHP-GTK, Phar compatibility, Gettext integration, and others.
Ding is a PHP framework that provides dependency injection (by Setter, Constructor, and Method), Aspect Oriented Programming, XML, YAML, Events support, and some JSR 250/330 annotations as bean definition providers, lightweight, can be deployed as a PHAR file, simple, and quick MVC, syslog, TCP client and server with non-blocking sockets, timers, and custom error, signal, and exception handling, PAGI integration (for the Asterisk gateway interface), and PAMI integration (for Asterisk management). It is similar to Java's Seasar and Spring.
rough is software to embed macros in PHP code. Add a comment to your code, run the macro command, and rough generates code. The macros are not removed from the source code and can easily be updated. Currently, there are macros to generate get methods, generate set methods, and emulate traits in PHP 5.3.