PayPal IPN Handling in PHP: A Modern Framework-Agnostic Approach

If you have worked with PayPal for a long time, there is a good chance your application still depends on Instant Payment Notification, better known as IPN. PayPal IPN is a legacy integration, but it is still used in many real production systems where payment confirmation, order proces...
Read more...

Ipstack Laravel Integration

Laravel 12 Tech Tutorial: Real-World IP Intelligence with sudiptpa/ipstack + sudiptpa/guid In this tutorial, we’ll build a production-style IP verification module in Laravel 12 using: - sudiptpa/ipstack for geolocation intelligence- sudiptpa/guid for request trace IDs This is...
Read more...

Announcing GUID v3.0 - Modern, lightweight GUID generation for PHP

A Modern, lightweight GUID generation for PHP 8.2+ The first release of this package focused on one clear goal: generate GUIDs with minimal fuss.Version 3.0 keeps that same spirit and modernizes the package for today’s PHP ecosystem. What’s new in v3.0 PHP 8.2+ ba...
Read more...

IPstack PHP Wrapper: Accurate IP Geolocation API Integration for Developers & Businesses

If you’ve used the package before, this release is a major quality step forward.If you’re new to it, this is the right time to start. The new sudiptpa/ipstack release modernizes the SDK with a cleaner architecture, stronger typing, better error handling, improved document...
Read more...

Simple Reusable React Component: Copy to Clipboard

As developers, we often need to add small but impactful features to our projects, like allowing users to copy text to their clipboard. Whether it’s for sharing a membership ID, a URL, or other dynamic data, having a reusable tool saves time and keeps the codebase clean. Today,...
Read more...

Laravel v4.2 GroupBy and Paginate Problem with Eager Loading - Fixed

Disclaimer: This article only applies to Laravel v4.2, as we are backporting bugs in the framework to fix them in older projects. If you have been using Laravel since 2013 and later, you may have been using it since the popular release of Laravel version 4.2 on June 1, 2014.I've been...
Read more...

Image Upload in PHP: A Step-by-Step Guide

Handling image uploads is a common task in web development. This guide will walk you through setting up image uploads in pure PHP, utilizing Composer for dependency management and ensuring robust validation. Prerequisites Before we start, ensure you have PHP and Composer installed o...
Read more...

Image Upload in Laravel: A Comprehensive Guide

Uploading files is a common requirement in web applications. Laravel provides a robust framework to handle file uploads with ease, ensuring security and validation. This guide will walk you through setting up image uploads in Laravel, first using local storage and then extending it to...
Read more...
Basic PHP.jpeg

Getting Started with PHP: A Comprehensive Guide

IntroductionWelcome to the world of PHP! Whether you're completely new to programming or looking to expand your skills, PHP is a great language to learn. It's widely used for web development, powering everything from simple websites to complex web applications. In this guide, we'll wa...
Read more...
Custom PHP Function.jpg

A Custom PHP Function for Recursive Array Filtering

In PHP, working with multidimensional arrays often requires recursive functions to handle nested data structures. In this blog post, we'll explore an enhanced version of a recursive function designed to filter and trim data within a multidimensional array. I came up with this functi...
Read more...