PHP metrics library