Added php lib part