title: Laravel extend Form class
body: <p>I'm trying to extend the <code>Form</code> class in L4.1 but I seem to be missing something. My file is named <code>FormBuilder.php</code> based on the API and is saved in <strong>app/libraries/extended/FormBuilder.php</strong>.</p>
  
  <pre><code>&lt;?php namespace Extended;
  
  class FormBuilder extends \Illuminate\Html\FormBuilder {
  
  /**
   * Create a text input field.
   *
   * @param  string  $name
   * @param  string  $value
   * @param  array   $options
   * @return string
   */
  public function text($name, $value = null, $options = array())
  {
          $options = $options + array('id'=&gt;"field-{$name}");
          return $this-&gt;input('text', $name, $value, $options);
  }
  
  }
  </code></pre>
  
  <p>This is actually the first time I've tried extending a core class in Laravel. I can't seem to put my finger on how to properly extend core classes like this <code>Form</code> class.</p>
  
  <p><strong>Edit:</strong>
  I added <code>"app/libraries/extended"</code> to my <em>composer.json</em> file and ran both <code>composer.phar update</code> and <code>composer.phar dump-autoload</code> but it still seemed to be using the core class instead of my extended one. What am I forgetting to do?</p>