title: Laravel 5 : link to php page
body: <p>I have two pages <code>login.blade.php</code> and <code>register.blade.php</code>. On my <code>login.blade.php</code> i have link to <code>register.blade.php</code> like this :</p>
  
  <pre><code>&lt;a href="register.php"&gt;Register a new membership&lt;/a&gt;
  </code></pre>
  
  <p>When i click on the link to register.php it throws the following error :</p>
  
  <p><code>NotFoundHttpException in RouteCollection.php line 143:</code></p>
  
  <p>Both login and register are in the same views folder.</p>
  
  <p>My route.php file have :</p>
  
  <pre><code>Route::get('/register', function(){
      return view('register');
  });
  </code></pre>