title: input the data from url Laravel
body: <p>I need to get the value from link and then add them to DB.</p>
  
  <p>I am working with another developer who created an api as a bridge because he does not know Laravel. Here is the api <a href="http://laravel.io/bin/614Xv" rel="nofollow">http://laravel.io/bin/614Xv</a> I am currently passing string valued data like so <a href="http://laravel.io/bin/wYry0" rel="nofollow">http://laravel.io/bin/wYry0</a> and passing the parameters $user, $name, $password through the route. </p>
  
  <p>Here is my route</p>
  
  <pre><code>Route::get('/profile/activated/{user?}/{pass?}/{email?}', array(
          'as' =&gt; 'invited-user-account-created-get',
          'uses' =&gt; 'ProfileController@getCreateInvitedUser'
  )); 
  </code></pre>
  
  <p>Here is my function:</p>
  
  <pre><code>public function getCreateInvitedUser($user=null, $password=null, $email=null) {
      $user = Input::get('username', 'abcd');
      $pass = Input::get('password', '1234');
      $email = Input::get('email', 'asas@gam.com');
  
      //insert $user array in database users table
      $user = User::create(array(
          'username'      =&gt;  $user,
          'password'      =&gt;  $pass,
          'email'     =&gt;  $email
          ));
  
  }       
  </code></pre>
  
  <p>The other developer is wanting me to set the input to the variables I get from the url link/profile/activated/user/pass/email </p>
  
  <p>Maybe I am tired but I am not understanding what he wants me to do and how to grab the variables from the url. The whole reason in doing this is to instantly store the invited guest info in the database when they click the activation link so they do not have to sign up for an account later.</p>