In this article you will learn:
The example project is a website where you can sell digital products, like ebooks or audiobooks. The user can sign in and pay through Stripe. An administrative area will show the order information.
The full code is hosted on Github.
Continue reading Simple Payments with Stripe and Laravel
In the Repository Pattern we create a layer between the data access logic and the business logic. You can use this approach to overcome the problem of having data and business logic in the controller.
The result of a traditional MVC approach generally is “dirty” controllers. In practical terms, it means that there is a lot going on in the controller, making it hard to test, scale and reuse the components.
This tutorial is an introduction to the Repository Pattern with Laravel. I assume that you are familiar with the basic of Laravel and concepts such as Inheritance and Interface.
You can also check the full code on Github. Continue reading Introduction to Repository Pattern with Laravel 5