This plugin demonstrates how you can use Laravel's methodology for routing, controllers and views inside an OctoberCMS Plugin.
To install this plugin, extract this archive to /plugins/acme/laravelapi and open the page route /welcome in your browser.