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.



Get MIME Type with PHP

March 27, 2021

A file MIME type is a two-part identifier for file formats. The two parts are separated by a / (forward slash) and descr...


How to Restart Queues in Laravel 8/7/6/5

March 24, 2021

Laravel queues are long-lived processes that are often started as a daemon using a process manager such as Supervisor. B...


How to Create a Preview Video Thumbnail of a Video with FFmpeg & PHP

March 23, 2021

In this tutorial, we will learn how to create a video thumbnail preview from a full video using FFmpeg & PHP. It wil...


How to Run FFmpeg Video Conversion from PHP

March 22, 2021

To run an FFmpeg video conversion from PHP, use the shell_exec() PHP utility. Pass the FFmpeg command inside "" (double...


How to Create Laravel Artisan Commands & Pass Arguments to Them

March 19, 2021

In this tutorial, we will learn how to create Laravel Artisan commands and configure them to require arguments. Gen...


How to Order By in Laravel

January 27, 2021

How to Create New Line in PHP

December 21, 2020