When I learn a new framework, the first thing I do is figure out how the framework's default splash page is loaded. Let's work through it together. Our first stop is routes/web.php
.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.