The Facade pattern is a software design pattern which is often used in object oriented programming. A facade is, in fact, a class wrapping a complex library to provide a simpler and more readable interface to it. The Facade pattern can also be used t
In Laravel it’s easy to do searches on your Eloquent models, and it’s easy to paginate a collection of models. It’s also easy to put those two concepts together, paginating a search of models, but how to do that might not be immedia
Laravel 5 version got us confused by separating our beloved Form::open world into a separate package. Now you have to add “illuminate/html”: “~5.0″ to your projects, whenever you want to use forms, right? Not necessary, you ca
This series explores a strategy for using Eloquent to easily achieve a DataMapper-like design that improves overall maintainability and readability of medium-to-large applications.
[Part 1][1]
[Part 2][2]
[Part 3][3]
[1]: https://medi
So you want to create your own package? Surprisingly, this topic has little information online and not properly described in the official docs. Let’s fill in the gaps and create a new Laravel 5 package from scratch.
To avoid a general Hello
Introduction
------------
Laravel is undoubtedly a very powerful framework with a lot of batteries included. One of the reasons I love laravel is the fact that it is built on events.
What are Laravel Events?
------------------------
An eve
Laravel is the most popular PHP framework. One of the biggest advantage of laravel is, it provides many features out of box like user authentication, prevention of cross site request forgery, middleware for restricting unauthorized access and bunch o
If you want to make your application testable you should really use Repositories in order to perform unit tests without touching the database.
In my case I was programming a Fantasy Football game and I will stick with the Team model.
The Team m