Laravel Developer Cheat Sheet.jpg

Laravel Cheat Sheet & Full Reference

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...
Read more...

MySQL SELECT Query: Fallback to Another Column for Null or Zero Values

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...
Read more...

Scroll to Element in JavaScript: A Complete Guide

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...
Read more...

Leveraging Laravel Eloquent: Retrieving Foreign Key Constraints from the Database

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...
Read more...

Handling Webhook for PayPal REST API on eCommerce Platforms

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...
Read more...

How to Integrate PayPal REST API for Online Payments

Before diving into the main content of the article below, let's go through the previously created articles on this blog.We have already created some articles that explain the classic PayPal API known as PayPal Express Checkout, also referred to as NVP/SOAP API. Most of the previous ar...
Read more...

How to Migrate Your Blog to a New Domain

Recently, we migrated this blog from a .co domain to a .com domain. Simultaneously, we also transitioned to Vultr as our hosting provider while making the move to the new domain.I started this blog in September 2015, as indicated by the billing history from my previous hosting provide...
Read more...

Simplifying Laravel Development with Invokable Controllers

Introduction Laravel, one of the most popular PHP frameworks, is renowned for its simplicity, elegance, and developer-friendly features. Among its array of powerful functionalities, "Invokable Controllers" stands out as an exceptional feature that can significantly enhance the organi...
Read more...

Flexibility of Invokable PHP Classes

Introduction PHP, being a versatile and widely used programming language, offers various features to enhance code flexibility and organization. One such powerful feature is "Invokable PHP Classes" or "Callable Classes." These classes can be invoked as if they were functions, enabling...
Read more...

An Ultimate Guide to Starting a Successful Blog in 2024

Blogging is all the rage nowadays, offering a fantastic way to share your thoughts and connect with people worldwide. But if you're new to blogging, getting started can feel overwhelming. Don't worry! This article is here to help. We've put together a simple and comprehensive guide to...
Read more...