Home

Snippets Setting up PHP Debugging With XDebug
In this post, we’ll learn how to set up the Xdebug debugger for PHP in Visual Studio Code.
Code Snippets Exceptions
In this code snippet, we'll learn how to throw and handle an exception in PHP. Exceptions are used to indicate that
PHP Code Snippets Make a PDF
In this code snippet, we'll learn how to make a PDF file in PHP. We will use the FPDF library to generate a
Code Snippets Reading And Writing Excel Files
In this code snippet, we'll learn how to read and write excel files in PHP. We will use the PHPSpreadsheet library to read/write Excel
Code Snippets Using DomDocument To Work With HTML
In this code snippet, we'll see how to work with HTML using DomDocument in PHP. If you need to change HTML
Code Snippets Global Exception Handler
In this code snippet, we'll make a global exception handler in PHP. A global exception handler is used to catch any
PHP Code Snippets APIs With The Slim Framework
In this code snippet, we'll make a REST API with the Slim framework in PHP. Slim is a framework that enables
PHP Code Snippets OOP and Objects
In this code snippet, we'll take a look at objects and basic of object oriented programming in PHP. I will
Code Snippets Downloading With File Get Contents
In this code snippet, we'll learn how to perform file downloads in PHP with the file_get_contents() function. The file_get_contents() function
Code Snippets Force File Download
In this code snippet, we'll learn how to force file downloads in PHP.
Advertisment ad adsense adlogger