title: How do I organize functional code in PHP (or any language)
body: <p>I've been trying my hand at functional programming using PHP. I understand all the basics; closures, lambdas, referential transparency etc.</p>
  
  <p>What I don't understand and can't find much information on is how to structure the whole project. How to group functions together into what kind of folder structure.</p>
  
  <p>What I've been doing is using empty classes with only static functions, as this provides me with namespaces. Is this a good idea or is there a better way?</p>