Threadable is a PHP library that helps with building applications that need to run multiple threads in parallel. It relies on posix and pcntl PHP extensions and does all the heavy lifting of process control. I find this very useful, as not many PHP developers are familiar with process management.
Year: 2018
SystemDaemon – Simple base for system daemons in PHP
SystemDaemon is a library that helps with writing system daemons and services in PHP. PHP is not my personal favorite language for such tasks, but there is often a need, despite the preference. Some examples are:
- scheduled tasks (cron jobs) that need to execute more often than once per minute
- message queue workers
- real-time synchronization scripts
Kitab – documentation rendering and testing tool for PHP
Kitab is a handy tool for PHP developers that helps with two things:
- Render static HTML (with added search) from the doc-blocks in source code.
- Unit test the examples that are in the doc-blocks.
There are a number of tools that do the first one (phpDocumentor, Doxygen, Sami, etc). However I don’t remember seeing anything that accomplishes the second task.
PHP object graph visualizer
koriym/print_o is an object graph visualizer for PHP. Here’s a Wikipedia answer to the question of “What is an object graph?”:
Object-oriented applications contain complex webs of interrelated objects. Objects are linked to each other by one object either owning or containing another object or holding a reference to another object. This web of objects is called an object graph and it is the more abstract structure that can be used in discussing an application’s state.
This tool is similar to some of my GraphViz tools (CakePHP model visualization with GraphViz, and PHP class inheritance with GraphViz), but it’s a lot more generic, and looks like a lot more powerful.