Several years ago I have written a simple PHP library of one type of Recommender System.
Library is written in pure PHP and of course is working but it has not a well performance because of used language. I plan rewrite this using C++ with some vectorization methods to speed things up.
Documentation is free and you can check it here.
The full library you can buy on Envato Market.