title: How to import all classes within filesystem in php?
body: <p>The folder structure is like so:</p>
  
  <pre><code>/main.php
    /lib/class1.php
    /lib/class2.php
    /lib/class3.php
  </code></pre>
  
  <p>I want to have main.php make available all the classes in lib without doing a ton of require/include. Is this possible? Is it possible to just include all files within a directory?</p>