added codes for php files

libraries