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

Bobby Iliev

How to check your exact Laravel version?
PublishedIntroduction Laravel is an open-source PHP framework. It was created by Taylor Otwell and it is based on Symfony. As of Laravel 6.x, it now follows Semantic Versioning, which essentially means that the major framework releases are released every six ...

Bobby Iliev

Introduction Using a long and secure MySQL password is necessary, however having to type that long password every time you run mysql -u root -p could be a bit frustrating especially if you want to run some MySQL commands in a script without being pro...
