php artisan make:controller frontend/HomePageController --resource

Read more of this post