It can quickly become tedious to generate all the various files you need. "Let's make a model, and now a migration, and now a controller." Instead, we can generate everything we need in a single command. I'll show you how in this episode.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.