title: How to Add an Object to Laravel's IOC Container from Middleware
body: <p>I want to create an object in my middleware (in this case, a collection from an Eloquent query), and then add it to the IOC container so I can type-hint method signatures in my controllers to access it. </p>
  
  <p>Is this possible? I can't find any examples online. </p>