PHP Tutorials



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...


PHP: Create a New Text File & Write Content to it

March 17, 2021

In this tutorial, we will learn how to create a text file in PHP and write some content to it. Create a FileThe fir...


How to Order By in Laravel

January 27, 2021

To order a query in descending or ascending order in Laravel use the orderBy() method followed by the get() method. The...


Laravel: Return JSON Response

January 26, 2021

To return a JSON response in Laravel, use the json() method on the response class, passing the JSON data as an associati...


How to Split a String into Array by Delimeter in PHP

January 25, 2021

To split a string into an array by a specific delimiter in PHP, use the explode() function. It will return an array of s...


How to Create New Line in PHP

December 21, 2020

How to Change PHP Version

December 07, 2020