Middleware: The Laravel Way With Parameters

What is Middleware? According to Laravel Documentation HTTP middleware provide a convenient mechanism for filtering HTTP requests entering your application. Let’s think of decorator pattern from software design patterns. Decorator pattern allows a user to add new functionality to an existing object without altering its structure. This type of design pattern comes under structural pattern… Continue reading Middleware: The Laravel Way With Parameters

Using Eloquent ORM with Codeigniter 3

Laravel is the new hotty. When you are working with laravel you can use all of its cool features and tools. But When you are using other frameworks or working in raw php you could also get advantage of awesome laravel components. Eloquent ORM is the coolest of them. According to Wikipedia Eloquent ORM (object-relational… Continue reading Using Eloquent ORM with Codeigniter 3