For a new client project I’ve started looking at the php-rules project again. The project has all the ingredients for building a nice promotion system. However, the code has some shortcomings when it comes to PHP 5.3.
To cut a long(-ish) story short, I’ve forked the code (with the blessing of the author) and it now lives on github.
I’ve made some rather bigger changes to learn more about the code and to add some more structure – I hope it doesn’t affect performance too badly.
Feel free to have a look and give it a try. The tests are based on simpletest which is not included.