PayPal Instant Payment Notification (IPN) Handling with Laravel

This is a follow-up article from my previous post A guide to Integrate Omnipay PayPal with Laravel, at the end of that article I have mentioned that I will be writing about handling PayPal Instant Payment Notification (IPN) with Laravel. So finally it is published, so you can go throu...
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...

Generating Never Expiring Facebook Page Access Token

I’ve been working on the new feature for my own blog to auto-posting the posts from the website to the facebook page via Facebook Graph API. My logic was just to make the process automated when I publish new blog post on my website end. Below, I will cover the processes that ar...
Read more...
Make Composer Faster

Speed up your Composer Install or Update Process

We all know that, whenever we go for running composer update, we, of course, need to wait until the dependencies are loaded and download. It usually takes up to 5-10 minutes to complete the full process of pulling down from the package hosted server. This waiting time depends on the p...
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...
IP to Location with PHP

A Simple IP to Geo Location solution for PHP

The freegeoip.net service is discontinued, so please refer to the new package to get the same service sudiptpa/ipstack I've abandoned the legacy package sudiptpa/geoip as the service provider discontinued on July 1st, 2018. I was working on my own use case to find out...
Read more...
share.jpeg

A Complete Guide to Integrate Facebook Like and Share

Nowadays social media platform has grown a lot more and really helpful in marketing, sharing information, communication etc. So here in this post, I am going into detail about how to integrate the Facebook social plugin, with real-time Like, Share button on your products links or blog...
Read more...
guid.jpg

Create unique GUID with PHP

In this blog post, I am going to write about my new PHP package for creating globally unique identifiers (GUID). Begin with installation via Composer: composer require sudiptpa/guid I was inspired mainly to create this package while I was searching for GUID information in the php.n...
Read more...