title: Codeigniter 3 autoload controller
body: <p>I'm using <a href="https://github.com/chriskacerguis/codeigniter-restserver" rel="noreferrer">REST Server</a> in codeigniter, and the way to use is that then in my app in all my controllers I must write this line on start:</p>
  
  <pre><code>require APPPATH . '/libraries/REST_Controller.php';
  </code></pre>
  
  <p>Does anyone know how to autoload this REST_Controller and to avoid this line in all my controllers? I don't want to use require.</p>
  
  <p>Thank in advance</p>