PHP Model-factory Resources