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

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

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

Advanced Query Debugging in Laravel 10: Mastering Efficient Techniques

Introduction: Debugging queries is an essential skill for Laravel 10 developers, and utilizing advanced techniques can greatly enhance the process. In this article, we will explore practical examples of query debugging using Laravel's query builder. We will focus on advanced methods,...
Read more...

Login with Username or Email with Laravel 10: Enhanced User Authentication

Introduction: Welcome back to my blog series on user authentication with Laravel! In my previous articles, we have covered the topic of login with username or email in different versions of Laravel. Today, I'm excited to bring you an updated approach specifically for Laravel 10. This...
Read more...

Generate Free SSL Certificates with Let's Encrypt in Laravel: A Step-by-Step Guide

Introduction: In this tutorial, we will guide you through the process of setting up a simple Laravel website that allows users to generate free SSL certificates using Let's Encrypt, PKIJS, and JSZIP. SSL certificates are essential for securing websites and enabling HTTPS. We will walk...
Read more...

Unleashing the Power of Carbon in Laravel: A Comprehensive Guide

Introduction: In Laravel, working with dates and times is a common requirement for many applications. Fortunately, the Carbon library provides a powerful and intuitive API that simplifies date manipulation and offers a wide range of features. In this comprehensive guide, we will explo...
Read more...

Simplify Your Code with Single Action Controllers in Laravel

In the Laravel framework, controllers play a crucial role in organizing and handling the logic of your web application. Typically, a controller contains multiple actions, each responsible for handling a specific HTTP request. However, there are cases where a controller may only need t...
Read more...