Stream Manager built in PHP