With all the hype around the quality assurance and testing tools for PHP, I wonder how did I miss atoum. Atoum is a modern, simple and intuitive unit testing framework for PHP. From a quick look around, it seems to be a lot simpler than PHPUnit and I definitely need to find some time to give it a go.
Also, here’s a blog post that describes how Automattic moved from PHPUnit to atoum, which makes a lot of sense (you know what I’m talking about if you ever tried to write PHPUnit tests for WordPress projects).
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.
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 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.