e22 Creating a Press Class Facade (Binding a Singleton)

Login to make annotations or mark as watched.


Login to write notes for this video.


In this lesson, we start by binding a singleton of our Press class and then add a Facade for it. Then, we refactor our code base to use this new Press Facade.

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