A professional & experienced web developer, always ready to support PHP developers, creator of this blog, Laravel enthusiast, I like to share what I know through my blog regularly.
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...
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...
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...
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...
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...
I assume you're landing on this page because, like me, you're a Laravel developer trying to find a full-fledged Laravel Cheat Sheet or a Laravel Developer Cheat Sheet for your shortcut to your daily Laravel development.
Using a cheat sheet isn't limited to beginner or intermediate de...
IntroductionIn Laravel or any PHP project, there are times when you need a SQL query to select a column and check if its value is null or 0. If the value is null or 0, you might want to fallback to a different column from another table. This guide will show you how to achieve this usi...
IntroductionSmooth scrolling to an element on a webpage enhances user experience and navigation. In this tutorial, we'll explore how to achieve this effect using JavaScript, jQuery, Vue.js, and Alpine.js. We'll cover various methods and provide code examples to help you implement smoo...
Foreign key constraints play a pivotal role in maintaining data integrity within relational databases. However, accessing information about these constraints programmatically can be challenging. In this guide, we'll explore how to leverage Laravel's Eloquent ORM to effortlessly retrie...
This is the continuation article for the previous article about PayPal REST API integration with PHP apps.
This article assumes that you have completed a full-fledged PayPal integration using the library explained in the previous article.Please Read: How to Integrate PayPal REST API...