title: The basics of php routing
body: <p>I'm looking for a tutorial or explaination on how to do very basic php routing.</p>
  
  <p>For example when I visit a link like: mywebsite.com/users I want to run the get method of a route class to provide the data, in the same way laravel does it.</p>
  
  <pre><code>Route::get('users', function()
  {
      return 'Users!';
  });
  </code></pre>
  
  <p>Can somebody explain how to do this or provide me with some more information?</p>