This project is a try to port the AngularJS logic to PHP