We've spent the last two episodes reviewing Laravel's service container and facades. All of that work is about to pay off, as we move on to service providers. A service provider is a location to register bindings into the container and to configure your application in general.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.