PHP Tutorials

PHP is a server-side programming language, which was originally designed for web development but has morphed into a more generalised language over the years.

 

On SkillSugar we have a collection of curated PHP tutorials to help you learn new skills.

Latest

 thumbnail

How to Tune PHP-FPM to Improve Performance on Server

October 22, 2021

If your PHP web application is randomly lagging and from visual observations of CPU/memory usage your server is not gett...

 thumbnail

How to Show PHP Packages

October 07, 2021
 thumbnail

How to Enable PHP In Apache

August 13, 2021
 thumbnail

How to use Foreach Loop in Laravel Blade View (Laravel 5, 6, 7 and 8 Example)

June 17, 2021

A foreach statement allows us to loop through an array of data and do something with each element inside it. In the Lara...

 thumbnail

Generate 4 Digit Unique Random Numbers in PHP

June 16, 2021

In this tutorial, we will learn how to generate pseudo-random numbers in a particular range in PHP. It is important...

 thumbnail

How to Display Alert Message Box in PHP

June 16, 2021

In this tutorial, we will learn two different ways of displaying an alert message box in the users' browser window using...

 thumbnail

Get Current URL with Parameters in Laravel 6, 7 & 8

June 09, 2021

To get the current URL with parameters in Laravel 6, 7 & 8 use the fullUrl() method from the Request() class. H...

 thumbnail

Get MIME Type with PHP

March 27, 2021