Disabling CSRF on Specific Route via Middleware

I was lately working with PayPal API on my Laravel project. In the process of coding and testing for Instant Payment Notification (IPN) part, I got an issue with csrf token. The issue was mainly with the POST request to the application via external service, so it threw TokenMismatchEx...
Read more...

Adding Custom Header with Response in Laravel

I was working out for the best way to add some custom header to my application for most of the view responses, I wanted the header to be "Cache-Control: no-cache, must-revalidate". I came up with the best solution with a laravel middleware and decided to share the code snippets...
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 best way to integrate paypal express checkout using OmniPay with PHP. Omnipay is a framework agnostic, payment processing library for PHP 5.3 and higher. Omnipay libraries are stable, consistent, and fully united tested by...
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...
cheet.sheet.png

Laravel 5.1 LTS Cheat Sheet

If you are a Laravel developer you gonna love this article. Here, I'm going to write about the Laravel v5.1 cheat sheet. The EST Group has just introduced a new laravel 5.1 LTS version cheat sheet which covers most of the laravel syntax. Which are really useful to all level of larav...
Read more...