9 projects tagged "PHP"
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.
dump_r addresses the many shortcomings of PHP's print_r() and var_dump() functions, and many other libraries built for decomposing complex objects into a Web browser. It outputs a minimal but informative representation of anything you feed to it in clean HTML with an embedded, easily tweak-able CSS stylesheet. You can set a configurable maximum depth. There is a bit of JavaScript thrown in to handle interactive collapsing and expanding of nodes, and the class provides hook methods which allow you to create additional custom type detection and styling.
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.