Is there an easy way to programmatically require all files in a folder?
foreach
foreach (glob("classes/*") as $filename) { require $filename; }
For more details, check out this previously posted question: