Set Custom Header for any Response in Laravel Application

I was working out for the best way to set a header like "Cache-Control: no-cache, must-revalidate" for any view response in my application. I came up with the best solution with a laravel middleware and decided to share the code snippets with the laravel community people as well. The...
Read more...
Redirect After Login to Previous URL

Redirect to Previous URL after Logging in, Laravel v5.5

An end-user visit the website tries to view several products, services by navigating to different pages. If he finally wants to submit an order. Now the website, of course, takes him to login or register page to provide his personal information for shipping or billing purpose. After l...
Read more...
authorization.jpeg

Authorizing New Device based on IP Address, with Laravel Middleware

I recently saw few of the e-commerce & payment gateway sites using device authorization system based on IP address, browser etc. I was also working on a same for my client's web app recently so wanted to share a detailed post with the community people. In this blog post, I will g...
Read more...
paypal.png

A guide to Integrate Omnipay PayPal with Laravel

In this blog post, I would like to share some idea about using OmniPay Payment processing library. Omnipay is a framework agnostic, payment processing library for PHP 5.3 and higher. Omnipay libraries are stable, consistent, and fully united tested by the developers and contributors...
Read more...

Laravel v4.2.20 , a special release.

I new version for Laravel v4.2.20 has been released. Yes!, you are absolutely correct, that new version for the Laravel's back version v4.2 is now released with support for PHP 7.0 and updates to the Symfony components to v2.7. The v4 line of Laravel is already deprecated, but a...
Read more...