Introduction Laravel is an amazing PHP framework that makes working with PHP great. As of the time of writing this tutorial, Laravel has more than 105 million installs according to Packagis, so as you can imagine there are multiple ways of installing...
Bobby Iliev
Introduction If you have ever done any coding you are most likely well familiar with the foreach loops. Without any doubt, a foreach loop is one of the best ways to iterate over the elements of the collection. However, in case you have an empty colle...
Bobby Iliev
Introduction In some cases when a particular table grows too much it might slow down your Laravel website. You might want to clear old records or archive them to another table so that you could keep your main table as light as possible. As of the tim...
Bobby Iliev
Introduction There are many ways of adding search functionality to your Laravel website. For example, you could use Laravel Scout which is an official Laravel package, you can take a look at this tutorial here on how to install, setup and use Laravel...
Bobby Iliev
Introduction There are many different ways to limit the length of a string. For example, you could use CSS, JavaScript, or do it through PHP. Laravel also provides a nice helper to make this easy! We will be using the Str class from Illuminate\Suppo...
Bobby Iliev
Introduction The rsync command is probably one of the most used commands out there. It is used to securely copy files from one server to another over SSH. Compared to the scp command, which does a similar thing, rsync makes the transfer a lot faster,...
Bobby Iliev
Introduction Markdown was created by John Gruber and Aaron Swartz who contributed on the syntax. Nowadays Markdown is everywhere, from readme files and writing messages in online discussion forums. I'm even writing this very article in Markdown as we...
Bobby Iliev
Introduction More often than not you would need to perform some maintenance for your Laravel website. Luckily Laravel makes it super easy to put your application in maintenance mode! In this tutorial, I will show you how to do that, and also how to c...
Bobby Iliev
Introduction In Linux and other Unix systems, a pipe is a way of redirecting the output of one command or a process to another. This is also known as an unnamed pipe. For example, you could combine the following two commands: ls -lah | grep some_stri...
Bobby Iliev
Introduction Docker is an open platform for developing, shipping, and running applications. If you are new to Docker I would recommend going through this Introduction to Docker tutorial! In this tutorial, you’ll learn how to customize the output of t...