e23 Post Repository (Refactoring to a Repository)

Login to make annotations or mark as watched.


Login to write notes for this video.


To complete the ProcessCommand class, we are going to extract the logic to save a post to it's own class using the repository pattern. We will complete the lesson by giving the user better feedback on what the command has done.

About this Course

In this series, we are tackling Laravel Package Development from scratch. Developing your own packages maximizes your code reusability, helps you with versioning and opens a huge door of possibility for external contributions by other developers. Come along for the ride as we learn everything from setting up tests to package auto discovery.

  • Subscribe to the channel