reorganize package + php resource