title: How can I use my custom class in a view on Laravel 5
body: <p>I have a custom class that I have to use inside my view. But how I do this?</p>
  
  <p>In Laravel 4.2, I simply run <code>composer.phar dump-autoload</code> and add in <code>start/local.php</code> as follow:</p>
  
  <pre><code>ClassLoader::addDirectories(array(
      app_path().'/commands',
      app_path().'/controllers',
      app_path().'/models',
      app_path().'/database/seeds',
      app_path().'/helpers/MyClass',
  ));
  </code></pre>
  
  <p>Finally, inside my view, I just use my class: <code>MyClass::myMethod()</code>. Again, how I do this with Laravel 5?</p>
  
  <p>Thanks</p>