“A process in Linux is nothing but a program in execution. It’s a running instance of a program. Any command that you execute starts a process.” – DigitalOcean How to Kill a Process The Linux operating system considers every running…
How to check if a string is a valid JSON object in PHP
You receive a data in form of string and it is supposed to be a valid JSON. So how to know whether a string you have is a valid JSON object. Here in this post I will show it with…
How to validate exact words in an input value in Laravel?
Validate exact words: This post will show you how to validate a string by exact matching with a string. For example you have to validate a field for whether it has yes or no in an input. So the input…
How to copy files and folders between two servers via SCP
As an internet user you need to download and upload data in form of files everyday. Also, as an mobile and/or web app developer you must have used FTP (File Transfer Protocol) to transfer data from one machine to another…
How to Export and Download CSV file without Plugin in Laravel 8/9/10
In this article, we will see how to export and download CSV file in Laravel framework. Exporting CSV file is a common requirement in many applications. Most of the examples around there were based on Laravel extensions so using this…
How to Rename Github Repository URL Remotely and Locally
Sometimes you may need to rename your Github Repository URL for various reasons. We are not going to discuss those various reasons here of course, but in this simple tutorial I will show you how you can rename and update…
How to validate data in Laravel, A Form Request Validation example for Laravel 7/8/9/10
In this simple tutorial I will show you an example of how to perform form request validation using Laravel’s Validator Facade. What is FormRequest? FormRequest is Laravel’s default form request validation mechanism. FormRequest can be extedned to define your custom…
Laravel Carbon addMinutes() | Laravel Carbon Add Or Subtract Minutes and Hours Examples
Laravel has the Carbon dependency attached to it. So, in order to perform basic to complex date and time calculations you can use this dependency. In this tutorial we will see some examples of addMinute and addMinutes methods of Carbon class.…
How to build a basic Frontend Application using Laravel and Livewire
Laravel framework is primarily used to create backends and APIs. Traditionally, it can leverage PHP to build frontends using blade template system. However, in order to build more interactive web pages developer may prefer to use Javascript frameworks such as…
Auto Renew Let’s Encrypt Certificates using Certbot
Let’s encrypt SSL certificates are issued for 90 days by default. After 90 days, you need to renew your SSL certificate. You can renew your Let’s Encrypt SSL certificate before 30 days of expiration. Renewal can be done manually or…