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 Create Custom Artisan Commands in Laravel

September 10, 2020

The artisan command interface is a really neat tool for working with the Laravel framework from the command-line. It can...

 thumbnail

PHP DateTime - Create, Format and Compare Dates with PHP

September 04, 2020

The DataTime object was released in PHP 5.2.0 and provides a more robust way of working with dates in PHP. It can be use...

 thumbnail

How to Execute Shell Commands in PHP

September 04, 2020

There are times when you need to run a shell command from inside a PHP program. This can be for several reasons such as...

 thumbnail

How to Make a String Lowercase or Uppercase in PHP

September 04, 2020

Sometimes all characters in a string need to be changed from uppercase to lowercase and visa versa. Fortunately, PHP has...

 thumbnail

How to Force HTTPS in Laravel

August 28, 2020

It is possible to force 301 redirects to HTTPS site-wide from within your Laravel application. Doing this from within La...

 thumbnail

How to Check PHP Version

July 11, 2020
 thumbnail

How to Comment in PHP

July 01, 2020