Posts by Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.

How to use Model events in Laravel, PHP?

Laravel eloquent has many events such as retrieved, creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored and each event will be triggered at a particular moment in the […]

How to Download File/Image from URL in Laravel, PHP

Downloading images and files from the URL is simple and easy with Laravel’s Illuminate\Support\Facades\Storage; class. We gonna use file_get_contents function to reads the entire file into a string, we have […]

How to write text on existing PDF using Laravel, PHP?

In this tutorial, you will learn how to write text to the existing pdf file in your Laravel application. We gonna write a simple PHP script to write text on a pdf file. This script will work with any version of the Laravel […]

How to Merge PDF Files using Laravel, PHP

In this tutorial, you will learn how to merge multiple pdf files in your Laravel application. We gonna write a simple PHP script to merge one or more pdf files (Laravel merge pdfs), into a single file. This script will […]

Codeigniter 4 Generate PDF using Mpdf

In this CodeIgniter 4 tutorial, we gonna convert HTML to pdf in CodeIgniter using Mpdf. Below are the steps to generate PDF in the CodeIgniter 4 application with the mPDF library: Step 1: Generate your CodeIgniter […]