PyroCMS helpers to work with Eloquent in 2.2.x