Laravel API Token Authentication

If you want to create a simple REST API, secured by web tokens for your mobile application or angular based application, you could develop it with Laravel, with very simple steps. In Laravel 5.2, Taylor Otwell introduced […]

How to get Client IP Address in Laravel 5

Sometime you need to track the ip address of the visitors for different reasons. In this tutorial, I would like to show you, how to get IP address of clients in Laravel application. In PHP you use super global variable […]

Laravel 5 Role Based Access Control using Middlewares

In this post I would like to show you very simple approach to develop a security layer around Laravel routes with custom Middleware. Laravel Middleware Middleware provide a convenient mechanism for filtering HTTP requests […]

Custom Facade in Laravel 5.2?

In Laravel world, a facade is a class that provides access to an object from the container. Laravel “facades” serve as “static proxies” to underlying classes in the service container, providing […]

Laravel 5.2 – Implicit model binding

Laravel’s route model binding has been around for a while, but Laravel 5.2 is about to make it even easier with Implicit model binding. Implicit model binding makes it painless to inject relevant models directly […]