PHP common library